NAME
Box2D::b2CircleShape - A circle shape.
SYNOPSIS
my $circle = Box2D::b2CircleShape->new();
$circle->m_radius( $radius );
DESCRIPTION
A circle shape.
METHODS
new()
Default constructor.
Returns a Box2D::b2CircleShape
ComputeAABB( $aabb, $transform )
See also: "ComputeAABB( $aabb, $xf )" in Box2D::b2Shape
Implements Box2D::b2Shape.
Parameters:
Box2D::b2AABB$aabbBox2D::b2Transform$transform
ComputeMass( $massData, $density )
See also: "ComputeMass( $massData, $density )" in Box2D::b2Shape
Implements Box2D::b2Shape.
Parameters:
Box2D::b2MassData$massDatafloat32$density
RayCast( $output, $input, $transform )
Implements Box2D::b2Shape.
Parameters:
Box2D::b2RayCastOutput$outputBox2D::b2RayCastInput$inputBox2D::b2Transform$transform
Returns a bool
TestPoint( $transform, $p )
Implements Box2D::b2Shape.
Parameters:
Box2D::b2Transform$transformBox2D::b2Vec2$p
Returns a bool
SEE ALSO
BUGS
See "BUGS" in Box2D