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

Function sign

utils/cpp_utils/include/vec3.h:334–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332namespace math {
333 template<class T>
334 inline vec3<int> sign(const vec3<T> &v) {
335 return vec3<int>(sign(v.x), sign(v.y), sign(v.z));
336 }
337}
338
339

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected