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

Method MakeRotation

TSMatrix2D.cpp:85–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85Matrix2D Matrix2D::MakeRotation(float angle)
86{
87 Vector2D v = CosSin(angle);
88 return (Matrix2D(v.x, -v.y, v.y, v.x));
89}
90
91Matrix2D Matrix2D::MakeScale(float scale)
92{

Callers

nothing calls this directly

Calls 2

CosSinFunction · 0.85
Matrix2DClass · 0.85

Tested by

no test coverage detected