Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricLengyel/Terathon-Math-Library
/ GetPosition
Method
GetPosition
TSMotor2D.cpp:29–32 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
27
}
28
29
Point2D Motor2D::GetPosition(void) const
30
{
31
return (Point2D((x * z + y * w) * 2.0F, (y * z - x * w) * 2.0F));
32
}
33
34
Transform2D Motor2D::GetTransformMatrix(void) const
35
{
Callers
nothing calls this directly
Calls
1
Point2D
Class · 0.85
Tested by
no test coverage detected