#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.
int32 b2Rope::GetVertexCount | ( | ) | const [inline] |
const b2Vec2* b2Rope::GetVertices | ( | ) | const [inline] |
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.
void b2Rope::SolveC2 | ( | ) | [private] |
Definition at line 140 of file b2Rope.cpp.
void b2Rope::SolveC3 | ( | ) | [private] |
Definition at line 180 of file b2Rope.cpp.
void b2Rope::Step | ( | float32 | timeStep, |
int32 | iterations | ||
) |
Definition at line 105 of file b2Rope.cpp.
float32* b2Rope::m_as [private] |
int32 b2Rope::m_count [private] |
float32 b2Rope::m_damping [private] |
b2Vec2 b2Rope::m_gravity [private] |
float32* b2Rope::m_ims [private] |
float32 b2Rope::m_k2 [private] |
float32 b2Rope::m_k3 [private] |
float32* b2Rope::m_Ls [private] |
b2Vec2* b2Rope::m_p0s [private] |
b2Vec2* b2Rope::m_ps [private] |
b2Vec2* b2Rope::m_vs [private] |