MCPcopy Create free account
hub / github.com/RozDavid/UnScene3D / operator-

Function operator-

utils/cpp_utils/include/vec3.h:328–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326
327template<class T>
328inline vec3<T> operator-(T s, const vec3<T> &v) {
329 return vec3<T>(s - v.x, s - v.y, s - v.z);
330}
331
332namespace math {
333 template<class T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected