lovr/src/physics/physics.c

17 lines
272 B
C
Raw Normal View History

2017-05-16 04:59:53 +00:00
#include "physics.h"
#include <stdlib.h>
void lovrPhysicsInit() {
dInitODE();
if (!dCheckConfiguration("ODE_single_precision")) {
error("lovr.physics must use single precision");
}
atexit(lovrPhysicsDestroy);
}
void lovrPhysicsDestroy() {
dCloseODE();
}