summaryrefslogtreecommitdiff
path: root/src/ode/setup.c
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-03-22 23:06:26 -0500
committersanine <sanine.not@pm.me>2023-03-22 23:06:26 -0500
commitdc8f29206201fcc977443ce9c6138c2f3129c1c8 (patch)
treed2acf572e965f3fdabf4fdb02ee0779ddacfb846 /src/ode/setup.c
parent78eb15d59190c079b1edb405eeae6696724f1b2e (diff)
re-implement bouncing ball
Diffstat (limited to 'src/ode/setup.c')
-rw-r--r--src/ode/setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ode/setup.c b/src/ode/setup.c
index 91e452c..2b5b1e3 100644
--- a/src/ode/setup.c
+++ b/src/ode/setup.c
@@ -28,6 +28,10 @@ void setup_ode(lua_State *L, int honey_tbl)
#define X(name, func) H_FUNC(name, func),
ODE_FUNCTIONS
#undef X
+ #define X(name, value) H_INT(name, value),
+ ODE_ENUMS
+ #undef X
+ H_NUM("Infinity", dInfinity),
H_END
};
create_table(L, ode);