Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ByteArena/box2d
/ GetPosition
Method
GetPosition
DynamicsB2Body.go:172–174 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
170
}
171
172
func
(body B2Body) GetPosition() B2Vec2 {
173
return
body.M_xf.P
174
}
175
176
func
(body B2Body) GetAngle() float64 {
177
return
body.M_sweep.A
Callers
4
Initialize
Method · 0.80
GetAnchorA
Method · 0.80
GetAnchorB
Method · 0.80
TestCPPCompliance
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestCPPCompliance
Function · 0.64