MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / length

Method length

jni/venus/vec3.h:109–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107
108 T length2() const { return x*x + y*y + z*z; }
109 T length() const { return std::sqrt(x*x + y*y + z*z); }
110 void normalize() { *this /= length(); }
111
112 /**

Callers 2

angleMethod · 0.45
distanceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected