A solid circle shape.
More...
#include <b2_circle_shape.h>
|
enum | Type {
e_circle = 0,
e_edge = 1,
e_polygon = 2,
e_chain = 3,
e_typeCount = 4
} |
|
◆ ComputeAABB()
void b2CircleShape::ComputeAABB |
( |
b2AABB * |
aabb, |
|
|
const b2Transform & |
transform, |
|
|
int32 |
childIndex |
|
) |
| const |
|
overridevirtual |
◆ ComputeMass()
void b2CircleShape::ComputeMass |
( |
b2MassData * |
massData, |
|
|
float |
density |
|
) |
| const |
|
overridevirtual |
◆ GetChildCount()
int32 b2CircleShape::GetChildCount |
( |
| ) |
const |
|
overridevirtual |
◆ RayCast()
Implement b2Shape.
- Note
- because the circle is solid, rays that start inside do not hit because the normal is not defined.
Implements b2Shape.
The documentation for this class was generated from the following file: