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

Method distance

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

Source from the content-addressed store, hash-verified

226 }
227
228 friend T distance(const vec3<T>& pt1, const vec3<T>& pt2)
229 {
230 vec3<T> v = pt2 - pt1;
231 return v.length();
232 }
233
234 friend T dot(const vec3<T>& v1, const vec3<T>& v2)
235 {

Callers

nothing calls this directly

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected