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

Method MakeRotationY

TSMatrix3D.cpp:154–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154Matrix3D Matrix3D::MakeRotationY(float angle)
155{
156 Vector2D v = CosSin(angle);
157
158 return (Matrix3D( v.x, 0.0F, v.y,
159 0.0F, 1.0F, 0.0F,
160 -v.y, 0.0F, v.x));
161}
162
163Matrix3D Matrix3D::MakeRotationZ(float angle)
164{

Callers

nothing calls this directly

Calls 2

CosSinFunction · 0.85
Matrix3DClass · 0.85

Tested by

no test coverage detected