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
$aabb
Box2D::b2Transform
$transform
ComputeMass( $massData, $density )
See also: "ComputeMass( $massData, $density )" in Box2D::b2Shape
Implements Box2D::b2Shape
.
Parameters:
Box2D::b2MassData
$massData
float32
$density
RayCast( $output, $input, $transform )
Implements Box2D::b2Shape
.
Parameters:
Box2D::b2RayCastOutput
$output
Box2D::b2RayCastInput
$input
Box2D::b2Transform
$transform
Returns a bool
TestPoint( $transform, $p )
Implements Box2D::b2Shape
.
Parameters:
Box2D::b2Transform
$transform
Box2D::b2Vec2
$p
Returns a bool
SEE ALSO
BUGS
See "BUGS" in Box2D