X-Git-Url: https://git.jsancho.org/?p=guile-irrlicht.git;a=blobdiff_plain;f=src%2Fbox3d.cpp;h=b1b873c58034774e133bdb337b4fdbb7778a95a8;hp=ed56fdc3228f514e9bbf52f30c5d153c5200f69e;hb=c4d9e46f268b4f7f738dd77685c632991125cec9;hpb=6bcbb2cefb0e69afae9b1de828b85f506b1bef19 diff --git a/src/box3d.cpp b/src/box3d.cpp index ed56fdc..b1b873c 100644 --- a/src/box3d.cpp +++ b/src/box3d.cpp @@ -24,6 +24,7 @@ #include "box3d.h" #include "gsubr.h" #include "vector3d.h" +#include "wrapped.h" using namespace irr; @@ -31,7 +32,7 @@ SCM aabbox3d_addInternalPoint (SCM box3d, SCM point) { - ((core::aabbox3df*)scm_to_pointer (box3d))->addInternalPoint (scm_to_vector3df (point)); + ((core::aabbox3df*)scm_to_irr_pointer (box3d))->addInternalPoint (scm_to_vector3df (point)); return SCM_UNSPECIFIED; } @@ -46,7 +47,7 @@ SCM aabbox3d_reset (SCM box3d, SCM init_value) { - ((core::aabbox3df*)scm_to_pointer (box3d))->reset (scm_to_vector3df (init_value)); + ((core::aabbox3df*)scm_to_irr_pointer (box3d))->reset (scm_to_vector3df (init_value)); return SCM_UNSPECIFIED; }