MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / Vec_Length

Method Vec_Length

extensions/olcPGEX_Graphics3D.h:481–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

479 }
480
481 float olc::GFX3D::Math::Vec_Length(olc::GFX3D::vec3d &v)
482 {
483 return sqrtf(Vec_DotProduct(v, v));
484 }
485
486 olc::GFX3D::vec3d olc::GFX3D::Math::Vec_Normalise(olc::GFX3D::vec3d &v)
487 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected