| 484 | } |
| 485 | |
| 486 | olc::GFX3D::vec3d olc::GFX3D::Math::Vec_Normalise(olc::GFX3D::vec3d &v) |
| 487 | { |
| 488 | float l = Vec_Length(v); |
| 489 | return { v.x / l, v.y / l, v.z / l }; |
| 490 | } |
| 491 | |
| 492 | olc::GFX3D::vec3d olc::GFX3D::Math::Vec_CrossProduct(olc::GFX3D::vec3d &v1, olc::GFX3D::vec3d &v2) |
| 493 | { |
nothing calls this directly
no outgoing calls
no test coverage detected