A solid circle shape.
More...
#include <b2_circle_shape.h>
A solid circle shape.
Definition at line 30 of file b2_circle_shape.h.
◆ b2CircleShape()
b2CircleShape::b2CircleShape |
( |
| ) |
|
|
inline |
◆ Clone()
◆ ComputeAABB()
◆ 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.
Definition at line 52 of file b2_circle_shape.cpp.
◆ TestPoint()
bool b2CircleShape::TestPoint |
( |
const b2Transform & |
transform, |
|
|
const b2Vec2 & |
p |
|
) |
| const |
|
overridevirtual |
◆ m_p
The documentation for this class was generated from the following files: