/dports/games/sauerbraten/sauerbraten/src/fpsgame/ |
H A D | weapon.cpp | 203 dir.sub(from).safenormalize(); in newbouncer() 302 p.dir = vec(to).sub(from).safenormalize(); in newprojectile() 400 hit(damage, d, at, vec(to).sub(from).safenormalize(), gun, from.dist(to), rays); in hitpush() 439 vec debrisvel = vec(owner->o).sub(v).safenormalize(), debrisorigin(v); in explode() 610 … if(!local) adddecal(DECAL_BULLET, rays[i], vec(from).sub(rays[i]).safenormalize(), 2.0f); in shoteffects() 623 if(!local) adddecal(DECAL_BULLET, to, vec(from).sub(to).safenormalize(), 2.0f); in shoteffects() 656 if(!local) adddecal(DECAL_BULLET, to, vec(from).sub(to).safenormalize(), 3.0f); in shoteffects() 752 else adddecal(DECAL_BULLET, rays[i], vec(from).sub(rays[i]).safenormalize(), 2.0f); in raydamage() 772 … d->gunselect!=GUN_BITE) adddecal(DECAL_BULLET, to, vec(from).sub(to).safenormalize(), d->gunselec… in raydamage() 796 vec from = d->o, to = targ, dir = vec(to).sub(from).safenormalize(); in shoot()
|
/dports/games/redeclipse/base-2.0.0/src/engine/ |
H A D | wind.cpp | 220 else wind.add(vec(o).sub(eo).safenormalize().mul(speed)); // local mode, relative to emitter in getwind()
|
/dports/games/redeclipse16/base-1.6.0/src/game/ |
H A D | projs.cpp | 973 vec dir = vec(proj.to).sub(proj.from).safenormalize(); in init() 1532 … else proj.to = vec(proj.o).sub(vec(proj.o).sub(from).safenormalize().mul(size)); in effect() 1721 … else proj.to = vec(proj.o).sub(vec(proj.o).sub(from).safenormalize().mul(size)); in destroy() 2094 vec targ = vec(proj.target->o).sub(proj.o).safenormalize(); in move() 2155 … dir.mul(1.f-amt).add(vec(proj.dest).sub(proj.o).safenormalize().mul(amt)).normalize(); in move() 2210 vec dir = vec(proj.to).sub(proj.from).safenormalize(); in raymove()
|
/dports/games/redeclipse/base-2.0.0/src/game/ |
H A D | projs.cpp | 1007 vec dir = vec(proj.dest).sub(proj.from).safenormalize(); in init() 2001 vec ray = vec(dir).safenormalize(); in escaped() 2202 vec targ = vec(proj.target->o).sub(proj.o).safenormalize(); in move() 2264 … dir.mul(1.f-amt).add(vec(proj.dest).sub(proj.o).safenormalize().mul(amt)).normalize(); in move() 2319 vec dir = vec(proj.dest).sub(proj.from).safenormalize(); in raymove()
|
/dports/games/redeclipse16/base-1.6.0/src/shared/ |
H A D | geom.h | 28 vec2 &safenormalize() { float m = magnitude(); if(m) mul(1/m); return *this; } in safenormalize() function 126 vec &safenormalize() { float m = magnitude(); if(m) div(m); return *this; } in safenormalize() function 288 vec4 &safenormalize() { float m = magnitude(); if(m) mul(1/m); return *this; } in safenormalize() function
|
/dports/games/sauerbraten/sauerbraten/src/shared/ |
H A D | geom.h | 28 vec2 &safenormalize() { float m = magnitude(); if(m) mul(1/m); return *this; } in safenormalize() function 133 vec &safenormalize() { float m = magnitude(); if(m) div(m); return *this; } in safenormalize() function 282 vec4 &safenormalize() { float m = magnitude(); if(m) mul(1/m); return *this; } in safenormalize() function
|
/dports/devel/bullet/bullet3-3.21/examples/Experiments/ImplicitCloth/stan/ |
H A D | vecmath.h | 223 float3 safenormalize(const float3 &v);
|
H A D | vecmath.cpp | 60 float3 safenormalize(const float3 &v) in safenormalize() function
|
/dports/devel/py-bullet3/bullet3-3.21/examples/Experiments/ImplicitCloth/stan/ |
H A D | vecmath.h | 223 float3 safenormalize(const float3 &v);
|
H A D | vecmath.cpp | 60 float3 safenormalize(const float3 &v) in safenormalize() function
|
/dports/games/redeclipse/base-2.0.0/src/shared/ |
H A D | geom.h | 28 vec2 &safenormalize() { float m = magnitude(); if(m) mul(1/m); return *this; } in safenormalize() function 146 vec &safenormalize() { float m = magnitude(); if(m) div(m); return *this; } in safenormalize() function 329 vec4 &safenormalize() { float m = magnitude(); if(m) mul(1/m); return *this; } in safenormalize() function
|
/dports/devel/bullet/bullet3-3.21/Extras/ConvexDecomposition/ |
H A D | cd_hull.cpp | 208 float3 safenormalize(const float3 &v); 585 float3 safenormalize(const float3 &v) in safenormalize() function
|
/dports/science/chrono/chrono-7.0.1/src/chrono/collision/gimpact/ConvexDecomposition/ |
H A D | cd_hull.cpp | 173 float3 safenormalize(const float3 &v); 509 float3 safenormalize(const float3 &v) in safenormalize() function
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/StanHull/ |
H A D | hull.cpp | 139 float3 safenormalize(const float3 &v); 475 float3 safenormalize(const float3 &v) in safenormalize() function
|
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/bullet/Extras/ConvexDecomposition/ |
H A D | cd_hull.cpp | 173 float3 safenormalize(const float3 &v); 509 float3 safenormalize(const float3 &v) in safenormalize() function
|
/dports/devel/py-bullet3/bullet3-3.21/Extras/ConvexDecomposition/ |
H A D | cd_hull.cpp | 208 float3 safenormalize(const float3 &v); 585 float3 safenormalize(const float3 &v) in safenormalize() function
|