]> git.jsancho.org Git - guile-irrlicht.git/blobdiff - src/animated-mesh.cpp
Unwrap Irrlicht objects in C++ instead of Guile
[guile-irrlicht.git] / src / animated-mesh.cpp
index cb88225c9f659c564df5bbb5ed7ac72e2c8aea2c..896cfe95e0fcb6ce8d696276eb0e12450c0ec429 100644 (file)
@@ -23,6 +23,7 @@
 #include <libguile.h>
 #include "animated-mesh.h"
 #include "gsubr.h"
+#include "wrapped.h"
 
 using namespace irr;
 
@@ -30,7 +31,7 @@ SCM
 IAnimatedMesh_setAnimationSpeed (SCM animated_mesh,
                                  SCM frames_per_second)
 {
-  ((scene::IAnimatedMesh*)scm_to_pointer (animated_mesh))->
+  ((scene::IAnimatedMesh*)scm_to_irr_pointer (animated_mesh))->
     setAnimationSpeed (scm_to_double (frames_per_second));
   return SCM_UNSPECIFIED;
 }