X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=src%2Fanimated-mesh.cpp;h=896cfe95e0fcb6ce8d696276eb0e12450c0ec429;hb=6dd88690b25a4df65ee7568377e25a0e1bf3af2f;hp=cb88225c9f659c564df5bbb5ed7ac72e2c8aea2c;hpb=41a6ad96e81a8d8153c54877c4c12f61100677a9;p=guile-irrlicht.git diff --git a/src/animated-mesh.cpp b/src/animated-mesh.cpp index cb88225..896cfe9 100644 --- a/src/animated-mesh.cpp +++ b/src/animated-mesh.cpp @@ -23,6 +23,7 @@ #include #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; }