video-data
source-rect)))
+(define-method (draw-vertex-primitive-list (video-driver <video-driver>) vertices indices . rest)
+ (let-keywords rest #f
+ ((v-type 'standard)
+ (p-type 'triangles))
+ (let ((drawVertexPrimitiveList (get-irrlicht-proc "drawVertexPrimitiveList" video-driver)))
+ (drawVertexPrimitiveList video-driver vertices indices v-type p-type))))
+
(define-method (end-scene (video-driver <video-driver>))
((get-irrlicht-proc "endScene" video-driver)
video-driver))
(let ((setTransform (get-irrlicht-proc "setTransform" video-driver)))
(setTransform video-driver state mat)))
-(export <video-driver> begin-scene end-scene get-fps get-name get-texture set-material!
- set-transform!)
+(export <video-driver> begin-scene draw-vertex-primitive-list end-scene get-fps get-name get-texture
+ set-material! set-transform!)
;; S3DVertex