]> git.jsancho.org Git - guile-irrlicht.git/blobdiff - irrlicht/video.scm
make-vertex3d
[guile-irrlicht.git] / irrlicht / video.scm
index 1fa6d640ded684f9ba3aa833376509180e6bcad5..596c7742542beca7bbab2c74b50b5677293a1fb6 100644 (file)
      filename)))
 
 (export <video-driver> begin-scene end-scene get-fps get-name get-texture)
+
+
+;; S3DVertex
+(define-class <vertex3d> (<irrlicht-base>)
+  (irr-class #:init-value "S3DVertex"))
+
+(define (make-vertex3d position normal color tcoords)
+  (let ((S3DVertex_make (get-irrlicht-proc "S3DVertex_make")))
+    (make <vertex3d>
+      #:irr-pointer
+      (S3DVertex_make position normal color tcoords))))
+
+(export <vertex3d> make-vertex3d)