X-Git-Url: https://git.jsancho.org/?p=guile-irrlicht.git;a=blobdiff_plain;f=src%2Fbox3d.cpp;h=f9a688b7c848ea9f598b38660afdddecce04f7bd;hp=1c0152a186739f6dec133fa47e118f88bb957be9;hb=d78951bd91783c61b312451198beb31f70b0f8b2;hpb=10b175d2183bb4dbe9a53c773465ed714e890290 diff --git a/src/box3d.cpp b/src/box3d.cpp index 1c0152a..f9a688b 100644 --- a/src/box3d.cpp +++ b/src/box3d.cpp @@ -30,8 +30,8 @@ using namespace irr; SCM -irr_core_aabbox3d_addInternalPoint (SCM box3d, - SCM point) +core_aabbox3d_addInternalPoint (SCM box3d, + SCM point) { ((core::aabbox3df*)scm_to_pointer (box3d))->addInternalPoint (scm_to_vector3df (point)); return SCM_UNSPECIFIED; @@ -39,7 +39,7 @@ irr_core_aabbox3d_addInternalPoint (SCM box3d, SCM -irr_core_aabbox3d_make () +core_aabbox3d_make () { core::aabbox3df* aabbox = new core::aabbox3df (); return scm_from_pointer ((void*)aabbox, NULL); @@ -47,8 +47,8 @@ irr_core_aabbox3d_make () SCM -irr_core_aabbox3d_reset (SCM box3d, - SCM init_value) +core_aabbox3d_reset (SCM box3d, + SCM init_value) { ((core::aabbox3df*)scm_to_pointer (box3d))->reset (scm_to_vector3df (init_value)); return SCM_UNSPECIFIED; @@ -60,12 +60,12 @@ extern "C" { void init_box3d (void) { - DEFINE_GSUBR ("irr_core_aabbox3d_addInternalPoint", 2, 0, 0, - irr_core_aabbox3d_addInternalPoint); - DEFINE_GSUBR ("irr_core_aabbox3d_make", 0, 0, 0, - irr_core_aabbox3d_make); - DEFINE_GSUBR ("irr_core_aabbox3d_reset", 2, 0, 0, - irr_core_aabbox3d_reset); + DEFINE_GSUBR ("core_aabbox3d_addInternalPoint", 2, 0, 0, + core_aabbox3d_addInternalPoint); + DEFINE_GSUBR ("core_aabbox3d_make", 0, 0, 0, + core_aabbox3d_make); + DEFINE_GSUBR ("core_aabbox3d_reset", 2, 0, 0, + core_aabbox3d_reset); } }