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

Method Vec_Div

extensions/olcPGEX_Graphics3D.h:471–474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469 }
470
471 olc::GFX3D::vec3d olc::GFX3D::Math::Vec_Div(olc::GFX3D::vec3d &v1, float k)
472 {
473 return { v1.x / k, v1.y / k, v1.z / k };
474 }
475
476 float olc::GFX3D::Math::Vec_DotProduct(olc::GFX3D::vec3d &v1, olc::GFX3D::vec3d &v2)
477 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected