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

Method distance

jni/venus/vec4.h:119–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 }
118
119 friend T distance(const vec4<T>& pt1, const vec4<T>& pt2)
120 {
121 vec4<T> v = pt2 - pt1;
122 return v.length();
123 }
124
125 friend T dot(const vec4<T>& v1, const vec4<T>& v2)
126 {

Callers

nothing calls this directly

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected