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

Function abs

utils/cpp_utils/include/vec3.h:392–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390
391 template<class T>
392 inline vec3<T> abs(const vec3<T> &p) {
393 return vec3<T>(std::abs(p.x), std::abs(p.y), std::abs(p.z));
394 }
395
396 template<class T>
397 inline vec3<T> square(const vec3<T> &v) {

Callers 1

segment_meshFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected