Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricLengyel/Terathon-Math-Library
/ GetDirectionX
Method
GetDirectionX
TSMotor2D.cpp:19–22 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
17
18
19
Vector2D Motor2D::GetDirectionX(void) const
20
{
21
return (Vector2D(1.0F - z * z * 2.0F, z * w * 2.0F));
22
}
23
24
Vector2D Motor2D::GetDirectionY(void) const
25
{
Callers
nothing calls this directly
Calls
1
Vector2D
Class · 0.85
Tested by
no test coverage detected