MCPcopy Create free account
hub / github.com/ByteArena/box2d / TestPoint

Method TestPoint

DynamicsB2Fixture.go:169–171  ·  view source on GitHub ↗
(p B2Vec2)

Source from the content-addressed store, hash-verified

167}
168
169func (fix B2Fixture) TestPoint(p B2Vec2) bool {
170 return fix.M_shape.TestPoint(fix.M_body.GetTransform(), p)
171}
172
173func (fix B2Fixture) RayCast(output *B2RayCastOutput, input B2RayCastInput, childIndex int) bool {
174 return fix.M_shape.RayCast(output, input, fix.M_body.GetTransform(), childIndex)

Callers

nothing calls this directly

Calls 2

TestPointMethod · 0.65
GetTransformMethod · 0.45

Tested by

no test coverage detected