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

Function sqrt

utils/cpp_utils/include/vec3.h:402–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400
401 template<class T>
402 inline vec3<T> sqrt(const vec3<T> &v) {
403 return vec3<T>(sqrt(v.x), sqrt(v.y), sqrt(v.z));
404 }
405
406 template<class T>
407 inline vec3<T> pow(const vec3<T> &v, T e) {

Callers 3

norm1DMethod · 0.85
lengthMethod · 0.85
distMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected