- smgr->addAnimatedMeshSceneNode ((scene::IAnimatedMesh*) scm_to_pointer (mesh),
- (TParent) scm_to_pointer (parent),
+ smgr->addAnimatedMeshSceneNode ((scene::IAnimatedMesh*) scm_to_irr_pointer (mesh),
+ (TParent) scm_to_irr_pointer (parent),
scm_to_int32 (id),
scm_to_vector3df (position),
scm_to_vector3df (rotation),
scm_to_int32 (id),
scm_to_vector3df (position),
scm_to_vector3df (rotation),
scm_to_vector3df (position),
scm_to_vector3df (lookat),
scm_to_int32 (id),
scm_to_vector3df (position),
scm_to_vector3df (lookat),
scm_to_int32 (id),
scm_to_double (rotate_speed),
scm_to_double (move_speed),
scm_to_int32 (id),
scm_to_double (rotate_speed),
scm_to_double (move_speed),
scm_to_int32 (id),
scm_to_int32 (key_map_size),
scm_to_bool (no_vertical_movement),
scm_to_double (jump_speed),
scm_to_int32 (key_map_size),
scm_to_bool (no_vertical_movement),
scm_to_double (jump_speed),
scene::IMeshSceneNode* node =
smgr->addCubeSceneNode (scm_to_double (size),
scene::IMeshSceneNode* node =
smgr->addCubeSceneNode (scm_to_double (size),
scm_to_int32 (id),
scm_to_vector3df (position),
scm_to_vector3df (rotation),
scm_to_int32 (id),
scm_to_vector3df (position),
scm_to_vector3df (rotation),
virtual const core::aabbox3d<f32>& getBoundingBox () const
{
SCM box = scm_call_0 (scm_get_bounding_box);
virtual const core::aabbox3d<f32>& getBoundingBox () const
{
SCM box = scm_call_0 (scm_get_bounding_box);
virtual video::SMaterial& getMaterial (u32 i)
{
SCM material = scm_call_1 (scm_get_material, scm_from_uint32 (i));
virtual video::SMaterial& getMaterial (u32 i)
{
SCM material = scm_call_1 (scm_get_material, scm_from_uint32 (i));
- new CustomSceneNode ((TParent) scm_to_pointer (parent),
- (scene::ISceneManager*) scm_to_pointer (scene_manager),
+ new CustomSceneNode ((TParent) scm_to_irr_pointer (parent),
+ (scene::ISceneManager*) scm_to_irr_pointer (scene_manager),
scm_to_int32 (id),
scm_to_vector3df (position),
scm_to_vector3df (rotation),
scm_to_int32 (id),
scm_to_vector3df (position),
scm_to_vector3df (rotation),
SCM minimal_polys_per_node,
SCM also_add_if_mesh_pointer_zero)
{
SCM minimal_polys_per_node,
SCM also_add_if_mesh_pointer_zero)
{
- smgr->addOctreeSceneNode ((TMesh) scm_to_pointer (mesh),
- (TParent) scm_to_pointer (parent),
+ smgr->addOctreeSceneNode ((TMesh) scm_to_irr_pointer (mesh),
+ (TParent) scm_to_irr_pointer (parent),
scm_to_int32 (id),
scm_to_int32 (minimal_polys_per_node),
scm_to_bool (also_add_if_mesh_pointer_zero));
scm_to_int32 (id),
scm_to_int32 (minimal_polys_per_node),
scm_to_bool (also_add_if_mesh_pointer_zero));
scene::IMeshSceneNode* node =
smgr->addSphereSceneNode (scm_to_double (radius),
scm_to_int32 (poly_count),
scene::IMeshSceneNode* node =
smgr->addSphereSceneNode (scm_to_double (radius),
scm_to_int32 (poly_count),
scm_to_int32 (id),
scm_to_vector3df (position),
scm_to_vector3df (rotation),
scm_to_int32 (id),
scm_to_vector3df (position),
scm_to_vector3df (rotation),
scene::ISceneNodeAnimator* anim =
smgr->createFlyCircleAnimator (scm_to_vector3df (center),
scm_to_double (radius),
scene::ISceneNodeAnimator* anim =
smgr->createFlyCircleAnimator (scm_to_vector3df (center),
scm_to_double (radius),
scene::ISceneNodeAnimator* anim =
smgr->createFlyStraightAnimator (scm_to_vector3df (start_point),
scm_to_vector3df (end_point),
scene::ISceneNodeAnimator* anim =
smgr->createFlyStraightAnimator (scm_to_vector3df (start_point),
scm_to_vector3df (end_point),
scene::ISceneNodeAnimator* anim =
smgr->createRotationAnimator (scm_to_vector3df (rotation_speed));
return scm_from_pointer ((void*) anim, NULL);
scene::ISceneNodeAnimator* anim =
smgr->createRotationAnimator (scm_to_vector3df (rotation_speed));
return scm_from_pointer ((void*) anim, NULL);
scene::IAnimatedMesh* mesh = smgr->getMesh(scm_to_utf8_stringn (filename, NULL));
return scm_from_pointer ((void*) mesh, NULL);
}
scene::IAnimatedMesh* mesh = smgr->getMesh(scm_to_utf8_stringn (filename, NULL));
return scm_from_pointer ((void*) mesh, NULL);
}