X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=src%2Fanimated-mesh-scene-node.cpp;h=040b7cdba9f2bac04ce5549590af005049e6e22e;hb=e310847d00a2fd941405b0d417542310dad63965;hp=3496b3a7b32ae53c4df3c35926d0321e787acd40;hpb=41a6ad96e81a8d8153c54877c4c12f61100677a9;p=guile-irrlicht.git diff --git a/src/animated-mesh-scene-node.cpp b/src/animated-mesh-scene-node.cpp index 3496b3a..040b7cd 100644 --- a/src/animated-mesh-scene-node.cpp +++ b/src/animated-mesh-scene-node.cpp @@ -24,6 +24,7 @@ #include "animated-mesh-md2.h" #include "animated-mesh-scene-node.h" #include "gsubr.h" +#include "wrapped.h" using namespace irr; @@ -33,7 +34,7 @@ IAnimatedMeshSceneNode_setFrameLoop (SCM animated_mesh_scene_node, SCM end) { return scm_from_bool - (((scene::IAnimatedMeshSceneNode*)scm_to_pointer (animated_mesh_scene_node))-> + (((scene::IAnimatedMeshSceneNode*)scm_to_irr_pointer (animated_mesh_scene_node))-> setFrameLoop (scm_to_int32 (begin), scm_to_int32 (end))); } @@ -43,7 +44,7 @@ IAnimatedMeshSceneNode_setMD2Animation (SCM animated_mesh_scene_node, SCM anim) { return scm_from_bool - (((scene::IAnimatedMeshSceneNode*)scm_to_pointer (animated_mesh_scene_node))-> + (((scene::IAnimatedMeshSceneNode*)scm_to_irr_pointer (animated_mesh_scene_node))-> setMD2Animation (scm_to_md2_animation_type (anim))); }