MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / length

Method length

ogsr_engine/xrParticles/psystem.h:30–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 IC pVector(float ax, float ay, float az) { set(ax, ay, az); }
29 pVector() = default;
30 IC float length() const { return _sqrt(x * x + y * y + z * z); }
31 IC float length2() const { return (x * x + y * y + z * z); }
32 IC float operator*(const pVector& a) const { return x * a.x + y * a.y + z * a.z; }
33 IC pVector operator*(const float s) const { return pVector(x * s, y * s, z * s); }

Callers 15

set_geometry_envMethod · 0.45
attachMethod · 0.45
ov_seek_funcFunction · 0.45
LoadWaveMethod · 0.45
pDomainMethod · 0.45
LoadActionsMethod · 0.45
ExecuteMethod · 0.45
split_cmdFunction · 0.45
update_tipsMethod · 0.45
CDemoPlayMethod · 0.45
loadMethod · 0.45
texture_loadMethod · 0.45

Calls 1

_sqrtFunction · 0.85

Tested by

no test coverage detected