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

Method TestPoint

CollisionB2Shape.go:66–66  ·  view source on GitHub ↗

Test a point for containment in this shape. This only works for convex shapes. @param xf the shape world transform. @param p a point in world coordinates.

(xf B2Transform, p B2Vec2)

Source from the content-addressed store, hash-verified

64 /// @param xf the shape world transform.
65 /// @param p a point in world coordinates.
66 TestPoint(xf B2Transform, p B2Vec2) bool
67
68 /// Cast a ray against a child shape.
69 /// @param output the ray-cast results.

Callers 1

TestPointMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected