ackb2d 0.9
3D Gamestudio Box 2d Wraper
|
Go to the source code of this file.
Functions | |
b2WorldManifold * | b2WorldManifold_Create () |
Create. | |
void | b2WorldManifold_Destroy (b2WorldManifold *worldManifold) |
Destroy b2WorldManifold. | |
void | b2WorldManifold_Initialize (b2WorldManifold *worldManifold, const b2Manifold *manifold, const b2Transform *xfA, var radiusA, const b2Transform *xfB, var radiusB) |
Evaluate the manifold with supplied transforms. This assumes modest motion from the original state. This does not change the point count, impulses, etc. The radii must come from the shapes that generated the manifold. | |
void | b2WorldManifold_SetNormal (b2WorldManifold *worldManifold, const VECTOR *normal) |
Set world manifold normal. | |
void | b2WorldManifold_GetNormal (b2WorldManifold *worldManifold, VECTOR *outNormal) |
Get world manifold normal. | |
void | b2WorldManifold_SetPoints (b2WorldManifold *worldManifold, const VECTOR *points) |
Set all b2Manifold points. | |
void | b2WorldManifold_GetPoints (b2WorldManifold *worldManifold, VECTOR *outPoints) |
Get all b2Manifold points. | |
var | b2WorldManifold_SetPoint (b2WorldManifold *worldManifold, const VECTOR *point, var index) |
Set b2Manifold point at index. | |
var | b2WorldManifold_GetPoint (b2WorldManifold *worldManifold, VECTOR *outPoint, var index) |
Get b2Manifold point at index. |
b2WorldManifold* b2WorldManifold_Create | ( | ) |
Create.
void b2WorldManifold_Destroy | ( | b2WorldManifold * | worldManifold | ) |
Destroy b2WorldManifold.
void b2WorldManifold_GetNormal | ( | b2WorldManifold * | worldManifold, |
VECTOR * | outNormal | ||
) |
Get world manifold normal.
world vector pointing from A to B
worldManifold | The world manifold |
outNormal | A preinitialized vector to receive the value |
var b2WorldManifold_GetPoint | ( | b2WorldManifold * | worldManifold, |
VECTOR * | outPoint, | ||
var | index | ||
) |
Get b2Manifold point at index.
world contact point (point of intersection)
manifold | The b2Manifold instance |
outPoint | A preintialized VECTOR to receive the result |
index | Point index |
void b2WorldManifold_GetPoints | ( | b2WorldManifold * | worldManifold, |
VECTOR * | outPoints | ||
) |
Get all b2Manifold points.
world contact point (point of intersection)
manifold | The b2Manifold instance |
outPoints | An array of 2 Vectors to receive the result |
void b2WorldManifold_Initialize | ( | b2WorldManifold * | worldManifold, |
const b2Manifold * | manifold, | ||
const b2Transform * | xfA, | ||
var | radiusA, | ||
const b2Transform * | xfB, | ||
var | radiusB | ||
) |
Evaluate the manifold with supplied transforms. This assumes modest motion from the original state. This does not change the point count, impulses, etc. The radii must come from the shapes that generated the manifold.
void b2WorldManifold_SetNormal | ( | b2WorldManifold * | worldManifold, |
const VECTOR * | normal | ||
) |
Set world manifold normal.
world vector pointing from A to B
worldManifold | The world manifold |
normal | The new normal value |
var b2WorldManifold_SetPoint | ( | b2WorldManifold * | worldManifold, |
const VECTOR * | point, | ||
var | index | ||
) |
Set b2Manifold point at index.
world contact point (point of intersection)
manifold | The b2Manifold instance |
point | A VECTOR containing the new value |
index | Point index |
void b2WorldManifold_SetPoints | ( | b2WorldManifold * | worldManifold, |
const VECTOR * | points | ||
) |
Set all b2Manifold points.
world contact point (point of intersection)
manifold | The b2Manifold instance |
points | An array of 2 vector containing the new values |