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

Method ComputeAABB

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

Given a transform, compute the associated axis aligned bounding box for a child shape. @param aabb returns the axis aligned box. @param xf the world transform of the shape. @param childIndex the child shape

(aabb *B2AABB, xf B2Transform, childIndex int)

Source from the content-addressed store, hash-verified

77 /// @param xf the world transform of the shape.
78 /// @param childIndex the child shape
79 ComputeAABB(aabb *B2AABB, xf B2Transform, childIndex int)
80
81 /// Compute the mass properties of this shape using its dimensions and density.
82 /// The inertia tensor is computed about the local origin.

Callers 2

CreateProxiesMethod · 0.65
SynchronizeMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected