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

Method Mat_MakeIdentity

extensions/olcPGEX_Graphics3D.h:292–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290 }
291
292 olc::GFX3D::mat4x4 olc::GFX3D::Math::Mat_MakeIdentity()
293 {
294 olc::GFX3D::mat4x4 matrix;
295 matrix.m[0][0] = 1.0f;
296 matrix.m[1][1] = 1.0f;
297 matrix.m[2][2] = 1.0f;
298 matrix.m[3][3] = 1.0f;
299 return matrix;
300 }
301
302 olc::GFX3D::mat4x4 olc::GFX3D::Math::Mat_MakeRotationX(float fAngleRad)
303 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected