-extern "C" {
-
- void
- init_box3d (void)
- {
- init_box3d_type ();
- scm_c_define_gsubr ("box3d-reset!", 2, 0, 0, (scm_t_subr)box3d_reset);
- scm_c_define_gsubr ("make-box3d", 0, 0, 0, (scm_t_subr)make_box3d);
- scm_c_export ("box3d-reset!", "make-box3d", NULL);
- }
-
- DEFINE_WRAPPED_TYPE (irr::core::aabbox3df*, "box3d",
- init_box3d_type, box3d_p,
- wrap_box3d, unwrap_box3d);
-
- SCM
- box3d_reset (SCM box3d,
- SCM init_value)
- {
- irr::core::aabbox3df* aabbox = unwrap_box3d (box3d);
- aabbox->reset (scm_to_vector3df (init_value));
- return SCM_UNSPECIFIED;
- }
-
- SCM
- make_box3d ()
- {
- irr::core::aabbox3df* aabbox = new irr::core::aabbox3df ();
- return wrap_box3d (aabbox);
- }