forgot to add

This commit is contained in:
Nishi 2026-01-31 09:29:13 +09:00
commit 98abf43449
Signed by: nishi
GPG key ID: 27EF69B208EB9343
2 changed files with 26 additions and 0 deletions

View 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
View file

@ -0,0 +1,9 @@
#include <GearSrc/Physics.h>
#include <GearSrc/Log.h>
#include <ode/ode.h>
void GSPhysicsInit(void){
dInitODE2(0);
}