Remove vdist
FossilOrigin-Name: 62594248024eb944735c20b4877f3e6ea07cd93e7f723e718986e86d3c43e944
This commit is contained in:
parent
daa4c19312
commit
d8f4f44468
8 changed files with 34 additions and 18 deletions
|
@ -286,10 +286,6 @@ extern bool demoplayback;
|
|||
#define PI (3.1415927f)
|
||||
#define PI2 (2 * PI)
|
||||
|
||||
// simplistic vector ops
|
||||
#define vdist(d, v, e, s) \
|
||||
OFVector3D v = OFSubtractVectors3D(s, e); \
|
||||
float d = sqrtf(OFDotProductOfVectors3D(v, v));
|
||||
#define vreject(v, u, max) \
|
||||
((v).x > (u).x + (max) || (v).x < (u).x - (max) || \
|
||||
(v).y > (u).y + (max) || (v).y < (u).y - (max))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue