X-Git-Url: https://git.jsancho.org/?p=guile-irrlicht.git;a=blobdiff_plain;f=irrlicht%2Fvideo.scm;h=596c7742542beca7bbab2c74b50b5677293a1fb6;hp=1fa6d640ded684f9ba3aa833376509180e6bcad5;hb=1a76862e831371dd0a7eb74b460c93b5932165c1;hpb=c59d2be798005a3684d75c3f561568ad2cdac9c7 diff --git a/irrlicht/video.scm b/irrlicht/video.scm index 1fa6d64..596c774 100644 --- a/irrlicht/video.scm +++ b/irrlicht/video.scm @@ -71,3 +71,16 @@ filename))) (export begin-scene end-scene get-fps get-name get-texture) + + +;; S3DVertex +(define-class () + (irr-class #:init-value "S3DVertex")) + +(define (make-vertex3d position normal color tcoords) + (let ((S3DVertex_make (get-irrlicht-proc "S3DVertex_make"))) + (make + #:irr-pointer + (S3DVertex_make position normal color tcoords)))) + +(export make-vertex3d)