| 336 | } |
| 337 | |
| 338 | olc::GFX3D::mat4x4 olc::GFX3D::Math::Mat_MakeScale(float x, float y, float z) |
| 339 | { |
| 340 | olc::GFX3D::mat4x4 matrix; |
| 341 | matrix.m[0][0] = x; |
| 342 | matrix.m[1][1] = y; |
| 343 | matrix.m[2][2] = z; |
| 344 | matrix.m[3][3] = 1.0f; |
| 345 | return matrix; |
| 346 | } |
| 347 | |
| 348 | olc::GFX3D::mat4x4 olc::GFX3D::Math::Mat_MakeTranslation(float x, float y, float z) |
| 349 | { |
nothing calls this directly
no outgoing calls
no test coverage detected