SO3Engine
|
SO3Physics.cpp File Reference
Go to the source code of this file.
Namespaces | |
namespace | SO3 |
Functions | |
int | getMaterialOverlapStartedCallback (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param) |
C function that prepares the VM for the execution of the Physic Material Overlap callback. | |
int | getMaterialContactCallback (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param) |
C function that prepares the VM for the execution of the callback a body leave the physic world. | |
int | getMaterialOverlapEndedCallback (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param) |
C function that prepares the VM for the execution of the Physic Material Overlap callback. | |
SMaterialPair * | getMaterialPairByWorld (SPhysicWorld *world, int ID1, int ID2) |
function to check if a material ID exists | |
Variables | |
int | SCENE_PRE_RENDER_PHYSIC_EVENT |
Function Documentation
◆ getMaterialContactCallback()
|
extern |
C function that prepares the VM for the execution of the callback a body leave the physic world.
- Parameters
-
m : current machine h : main scol window msg : message id : pointer of the obj param : data pointer ret : user parameter
- Returns
- res : 0 if success
C function that prepares the VM for the execution of the Physic Material Contact callback
- Parameters
-
m : current machine h : main scol window msg : message id : pointer of the obj param : data pointer ret : user parameter
- Returns
- res : 0 if success
Definition at line 106 of file SCOLPhysics.cpp.
◆ getMaterialOverlapEndedCallback()
|
extern |
C function that prepares the VM for the execution of the Physic Material Overlap callback.
- Parameters
-
m : current machine h : main scol window msg : message id : pointer of the obj param : data pointer ret : user parameter
- Returns
- res : 0 if success
Definition at line 266 of file SCOLPhysics.cpp.
◆ getMaterialOverlapStartedCallback()
|
extern |
C function that prepares the VM for the execution of the Physic Material Overlap callback.
- Parameters
-
m : current machine h : main scol window msg : message id : pointer of the obj param : data pointer ret : user parameter
- Returns
- res : 0 if success
Definition at line 194 of file SCOLPhysics.cpp.
◆ getMaterialPairByWorld()
|
extern |
function to check if a material ID exists
- Parameters
-
world : current physic world ID1 : Material ID1 ID2 : Material ID2
- Returns
- SMaterialPair : The material Pair finded, NULL otherwise
Definition at line 7714 of file SCOLPhysics.cpp.
Variable Documentation
◆ SCENE_PRE_RENDER_PHYSIC_EVENT
|
extern |
Definition at line 192 of file SO3SCOL.cpp.
Generated by 1.9.8