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

Method Vec_Add

extensions/olcPGEX_Graphics3D.h:456–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454 }
455
456 olc::GFX3D::vec3d olc::GFX3D::Math::Vec_Add(olc::GFX3D::vec3d &v1, olc::GFX3D::vec3d &v2)
457 {
458 return { v1.x + v2.x, v1.y + v2.y, v1.z + v2.z };
459 }
460
461 olc::GFX3D::vec3d olc::GFX3D::Math::Vec_Sub(olc::GFX3D::vec3d &v1, olc::GFX3D::vec3d &v2)
462 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected