set-material-flag!
set-material-texture!
set-md2-animation!
+ set-position!
set-window-caption!))
;; Merged methods have to be exported apart
(define remote-proc-table (make-hash-table))
(define (get-irrlicht-proc proc-name . objects)
- (format #t "Objects: ~a ~a~%" objects irr-class)
- (format #t "Classes: ~a~%" (map irr-class objects))
(let* ((name (if (null? objects)
proc-name
(let ((classes (map irr-class objects)))
texture-layer
texture))
-(export <scene-node> set-material-flag! set-material-texture!)
+(define-method (set-position! (node <scene-node>) new-pos)
+ (let ((setPosition (get-irrlicht-proc "setPosition" node)))
+ (setPosition node new-pos)))
+
+(export <scene-node> set-material-flag! set-material-texture! set-position!)
;; IAnimatedMeshSceneNode