Go to the source code of this file.
Functions |
b2Manifold * | b2Manifold_Create () |
| Create a b2Manifold Instance.
|
void | b2Manifold_Destroy (b2Manifold *manifold) |
| Destroy b2manifold.
|
void | b2Manifold_SetLocalNormal (b2Manifold *manifold, const VECTOR *normal) |
| Set b2Manifold local Normal.
|
void | b2Manifold_GetLocalNormal (b2Manifold *manifold, VECTOR *outNormal) |
| Get b2Manifold local Normal.
|
void | b2Manifold_SetLocalPoint (b2Manifold *manifold, const VECTOR *point) |
| Set b2Manifold local Point.
|
void | b2Manifold_GetLocalPoint (b2Manifold *manifold, VECTOR *outPoint) |
| Get b2Manifold local Point.
|
void | b2Manifold_SetType (b2Manifold *manifold, var type) |
| Set b2Manifold type.
|
var | b2Manifold_GetType (b2Manifold *manifold) |
| Get b2Manifold Type.
|
void | b2Manifold_SetPointCount (b2Manifold *manifold, var pointCount) |
| Set b2Manifold pointCount.
|
var | b2Manifold_GetPointCount (b2Manifold *manifold) |
| Get b2Manifold pointCount.
|
void | b2Manifold_SetPoints (b2Manifold *manifold, const b2ManifoldPoint **points) |
| Set all b2Manifold points.
|
void | b2Manifold_GetPoints (b2Manifold *manifold, b2ManifoldPoint **outPoints) |
| Get all b2Manifold points.
|
var | b2Manifold_SetPoint (b2Manifold *manifold, const b2ManifoldPoint *point, var index) |
| Set b2Manifold point at index.
|
var | b2Manifold_GetPoint (b2Manifold *manifold, b2ManifoldPoint *outPoint, var index) |
| Get b2Manifold point at index.
|
Function Documentation
void b2Manifold_GetLocalNormal |
( |
b2Manifold * |
manifold, |
|
|
VECTOR * |
outNormal |
|
) |
| |
Get b2Manifold local Normal.
- Parameters:
-
manifold | The manifold instance |
outNormal | A preinitialized vector to store the result |
void b2Manifold_GetLocalPoint |
( |
b2Manifold * |
manifold, |
|
|
VECTOR * |
outPoint |
|
) |
| |
Get b2Manifold local Point.
- Parameters:
-
manifold | The manifold instance |
outPoint | A preinitialized vector to store the result |
Get b2Manifold point at index.
- Parameters:
-
- Returns:
- 1 on success and 0 on failure
var b2Manifold_GetPointCount |
( |
b2Manifold * |
manifold | ) |
|
Get b2Manifold pointCount.
- Parameters:
-
manifold | The manifold instance |
- Returns:
- var the manifold type
Get b2Manifold Type.
- Parameters:
-
manifold | The manifold instance |
- Returns:
- var the manifold type
void b2Manifold_SetLocalNormal |
( |
b2Manifold * |
manifold, |
|
|
const VECTOR * |
normal |
|
) |
| |
Set b2Manifold local Normal.
- Parameters:
-
manifold | The manifold instance |
normal | The new normal value |
void b2Manifold_SetLocalPoint |
( |
b2Manifold * |
manifold, |
|
|
const VECTOR * |
point |
|
) |
| |
Set b2Manifold local Point.
- Parameters:
-
manifold | The manifold instance |
point | The new local point value |
Set b2Manifold point at index.
- Parameters:
-
- Returns:
- 1 on success and 0 on failure
void b2Manifold_SetPointCount |
( |
b2Manifold * |
manifold, |
|
|
var |
pointCount |
|
) |
| |
Set b2Manifold pointCount.
- Parameters:
-
manifold | The manifold instance |
type | The new pointCount |
void b2Manifold_SetType |
( |
b2Manifold * |
manifold, |
|
|
var |
type |
|
) |
| |
Set b2Manifold type.
- Parameters:
-
manifold | The manifold instance |
type | The new type |