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

Method MakeRotationX

TSMatrix3D.cpp:145–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145Matrix3D Matrix3D::MakeRotationX(float angle)
146{
147 Vector2D v = CosSin(angle);
148
149 return (Matrix3D(1.0F, 0.0F, 0.0F,
150 0.0F, v.x, -v.y,
151 0.0F, v.y, v.x));
152}
153
154Matrix3D Matrix3D::MakeRotationY(float angle)
155{

Callers

nothing calls this directly

Calls 2

CosSinFunction · 0.85
Matrix3DClass · 0.85

Tested by

no test coverage detected