MCPcopy Create free account
hub / github.com/RozDavid/UnScene3D / cross

Method cross

utils/cpp_utils/include/vec3.h:159–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 }
158
159 static inline vec3 cross(const vec3 &l, const vec3 &r) {
160 return (l ^ r);
161 }
162
163 inline vec3<T> operator-(const vec3 &other) const {
164 return vec3<T>(array[0] - other.array[0], array[1] - other.array[1], array[2] - other.array[2]);

Callers 1

MFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected