]> git.jsancho.org Git - guile-irrlicht.git/blobdiff - src/vertex3d.cpp
make-vertex3d
[guile-irrlicht.git] / src / vertex3d.cpp
index 2bc305c524f5624146bd3e92d6d15cc759b50c87..b7b57e2c70ef52bdf2a360566861117150ab36c2 100644 (file)
 using namespace irr;
 
 SCM
-video_S3DVertex_make (SCM position,
-                      SCM normal,
-                      SCM color,
-                      SCM tcoords)
+S3DVertex_make (SCM position,
+                SCM normal,
+                SCM color,
+                SCM tcoords)
 {
   video::S3DVertex* vertex =
     new video::S3DVertex (scm_to_vector3df (position),
@@ -45,7 +45,7 @@ video_S3DVertex_make (SCM position,
 }
 
 SCM
-video_S3DVertex_Pos (SCM vertex) {
+S3DVertex_Pos (SCM vertex) {
   video::S3DVertex* s3dvertex = (video::S3DVertex*) scm_to_irr_pointer (vertex);
   return scm_from_vector3df (s3dvertex->Pos);
 }
@@ -53,8 +53,8 @@ video_S3DVertex_Pos (SCM vertex) {
 void
 init_vertex3d (void)
 {
-  DEFINE_GSUBR ("video_S3DVertex_make", 4, 0, 0, video_S3DVertex_make);
-  DEFINE_GSUBR ("video_S3DVertex_Pos", 1, 0, 0, video_S3DVertex_Pos);
+  DEFINE_GSUBR ("S3DVertex_make", 4, 0, 0, S3DVertex_make);
+  DEFINE_GSUBR ("S3DVertex_Pos", 1, 0, 0, S3DVertex_Pos);
 }
 
 video::E_VERTEX_TYPE