Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
85
Matrix2D Matrix2D::MakeRotation(float angle)
86
{
87
Vector2D v = CosSin(angle);
88
return (Matrix2D(v.x, -v.y, v.y, v.x));
89
}
90
91
Matrix2D Matrix2D::MakeScale(float scale)
92
{
Callers
nothing calls this directly
Calls
2
CosSin
Function · 0.85
Matrix2D
Class · 0.85
Tested by
no test coverage detected