-/* guile-irrlicht --- GNU Guile bindings for Irrlicht Engine
-
- Copyright (C) 2020 Javier Sancho <jsf@jsancho.org>
-
- This file is part of guile-irrlicht.
-
- guile-irrlicht is free software; you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 3 of the
- License, or (at your option) any later version.
-
- guile-irrlicht is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with guile-irrlicht. If not, see
- <http://www.gnu.org/licenses/>.
-*/
-
-#include <irrlicht/irrlicht.h>
-#include <libguile.h>
-#include "aabbox3d.h"
-#include "wrapped.h"
-
-extern "C" {
-
- void
- init_aabbox3d (void)
- {
- init_aabbox3df_type ();
- init_aabbox3di_type ();
- scm_c_define_gsubr ("make-aabbox3df", 0, 0, 0, (scm_t_subr)make_aabbox3df);
- scm_c_define_gsubr ("make-aabbox3di", 0, 0, 0, (scm_t_subr)make_aabbox3di);
- scm_c_export ("make-aabbox3df", "make-aabbox3di", NULL);
- }
-
- DEFINE_WRAPPED_TYPE (irr::core::aabbox3df*, "aabbox3df",
- init_aabbox3df_type, aabbox3df_p,
- wrap_aabbox3df, unwrap_aabbox3df);
-
- DEFINE_WRAPPED_TYPE (irr::core::aabbox3di*, "aabbox3di",
- init_aabbox3di_type, aabbox3di_p,
- wrap_aabbox3di, unwrap_aabbox3di);
-
- SCM
- make_aabbox3df ()
- {
- irr::core::aabbox3df* box = new irr::core::aabbox3df ();
- return wrap_aabbox3df (box);
- }
-
- SCM
- make_aabbox3di ()
- {
- irr::core::aabbox3di* box = new irr::core::aabbox3di ();
- return wrap_aabbox3di (box);
- }
-
-}