(worldPoint B2Vec2)
| 240 | } |
| 241 | |
| 242 | func (body B2Body) GetLocalPoint(worldPoint B2Vec2) B2Vec2 { |
| 243 | return B2TransformVec2MulT(body.M_xf, worldPoint) |
| 244 | } |
| 245 | |
| 246 | func (body B2Body) GetLocalVector(worldVector B2Vec2) B2Vec2 { |
| 247 | return B2RotVec2MulT(body.M_xf.Q, worldVector) |
no test coverage detected