MCPcopy Create free account
hub / github.com/EricLengyel/Terathon-Math-Library / MakeRotationY

Method MakeRotationY

TSMatrix4D.cpp:622–629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620}
621
622Transform3D Transform3D::MakeRotationY(float angle)
623{
624 Vector2D v = CosSin(angle);
625
626 return (Transform3D( v.x, 0.0F, v.y, 0.0F,
627 0.0F, 1.0F, 0.0F, 0.0F,
628 -v.y, 0.0F, v.x, 0.0F));
629}
630
631Transform3D Transform3D::MakeRotationZ(float angle)
632{

Callers

nothing calls this directly

Calls 2

CosSinFunction · 0.85
Transform3DClass · 0.70

Tested by

no test coverage detected