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

Method Vec_Sub

extensions/olcPGEX_Graphics3D.h:461–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459 }
460
461 olc::GFX3D::vec3d olc::GFX3D::Math::Vec_Sub(olc::GFX3D::vec3d &v1, olc::GFX3D::vec3d &v2)
462 {
463 return { v1.x - v2.x, v1.y - v2.y, v1.z - v2.z };
464 }
465
466 olc::GFX3D::vec3d olc::GFX3D::Math::Vec_Mul(olc::GFX3D::vec3d &v1, float k)
467 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected