forgot to add
This commit is contained in:
parent
13ed1d2d96
commit
98abf43449
2 changed files with 26 additions and 0 deletions
17
engine/include/GearSrc/Physics.h
Normal file
17
engine/include/GearSrc/Physics.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef __GEARSRC_PHYSICS_H__
|
||||
#define __GEARSRC_PHYSICS_H__
|
||||
|
||||
#include <GearSrc/MachDep.h>
|
||||
#include <GearSrc/TypeDefs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
GSDECL void GSPhysicsInit(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
9
engine/src/physics.c
Normal file
9
engine/src/physics.c
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#include <GearSrc/Physics.h>
|
||||
|
||||
#include <GearSrc/Log.h>
|
||||
|
||||
#include <ode/ode.h>
|
||||
|
||||
void GSPhysicsInit(void){
|
||||
dInitODE2(0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue