#include <b2Rope.h>
Public Member Functions | |
b2Rope () | |
void | Draw (b2Draw *draw) const |
int32 | GetVertexCount () const |
const b2Vec2 * | GetVertices () const |
void | Initialize (const b2RopeDef *def) |
void | SetAngle (float32 angle) |
void | Step (float32 timeStep, int32 iterations) |
~b2Rope () | |
Private Member Functions | |
void | SolveC2 () |
void | SolveC3 () |
Private Attributes | |
float32 * | m_as |
int32 | m_count |
float32 | m_damping |
b2Vec2 | m_gravity |
float32 * | m_ims |
float32 | m_k2 |
float32 | m_k3 |
float32 * | m_Ls |
b2Vec2 * | m_p0s |
b2Vec2 * | m_ps |
b2Vec2 * | m_vs |
b2Rope::b2Rope | ( | ) |
Definition at line 22 of file b2Rope.cpp.
b2Rope::~b2Rope | ( | ) |
Definition at line 36 of file b2Rope.cpp.
void b2Rope::Draw | ( | b2Draw * | draw | ) | const |
Definition at line 251 of file b2Rope.cpp.
void b2Rope::Initialize | ( | const b2RopeDef * | def | ) |
Definition at line 46 of file b2Rope.cpp.
void b2Rope::SetAngle | ( | float32 | angle | ) |
Definition at line 171 of file b2Rope.cpp.
|
private |
Definition at line 140 of file b2Rope.cpp.
|
private |
Definition at line 180 of file b2Rope.cpp.
Definition at line 105 of file b2Rope.cpp.