X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=src%2Fanimated-mesh.cpp;fp=src%2Fanimated-mesh.cpp;h=896cfe95e0fcb6ce8d696276eb0e12450c0ec429;hb=c4d9e46f268b4f7f738dd77685c632991125cec9;hp=cb88225c9f659c564df5bbb5ed7ac72e2c8aea2c;hpb=6bcbb2cefb0e69afae9b1de828b85f506b1bef19;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; }