URL:
<http://gna.org/patch/?768>
Summary: Some Vector Additions
Project: Warzone Resurrection Project
Submitted by: evilguru
Submitted on: Monday 07/16/2007 at 21:32
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
This patch adds a couple of useful vector functions which can be used for hit
testing, such as seeing if an object is in a sphere or circle.
While I originally planned to add hitbox functions I found that warzone makes
heavy use of circles and spheres (fire, splash damage). Both of these are
currently implemented in an overly complex way. My idea is that we can get
vectors into BASE_OBJECT, and so making this kind of hit testing very, very
easy.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Monday 07/16/2007 at 21:32 Name: vector.patch Size: 2kB By:
evilguru
<http://gna.org/patch/download.php?file_id=2589>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?768>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev