#:use-module (oop goops)
#:use-module (irrlicht base)
#:use-module (irrlicht foreign)
- #:use-module (irrlicht io)
- #:use-module (irrlicht irr)
- #:use-module (irrlicht gui)
- #:use-module (irrlicht scene)
- #:use-module (irrlicht video))
+ #:use-module ((irrlicht irr) #:select (<event-receiver> <reference-counted>)))
;; IrrlichtDevice
#:use-module (ice-9 optargs)
#:use-module (irrlicht base)
#:use-module (irrlicht foreign)
- #:use-module (irrlicht io)
- #:use-module (irrlicht irr))
+ #:use-module ((irrlicht io) #:select (<attribute-exchanging-object>))
+ #:use-module ((irrlicht irr) #:select (<event-receiver> <reference-counted>)))
;; ICursorControl
#:use-module (oop goops)
#:use-module (ice-9 optargs)
#:use-module (irrlicht foreign)
- #:use-module (irrlicht irr))
+ #:use-module ((irrlicht irr) #:select (<reference-counted>)))
;; IAttributeExchangingObject
#:use-module (ice-9 optargs)
#:use-module (irrlicht base)
#:use-module (irrlicht foreign)
- #:use-module (irrlicht io)
- #:use-module (irrlicht irr)
- #:use-module (irrlicht video))
+ #:use-module ((irrlicht io) #:select (<attribute-exchanging-object>))
+ #:use-module ((irrlicht irr) #:select (<event-receiver> <key-map> <reference-counted>))
+ #:use-module ((irrlicht video) #:select (<texture>)))
;; IMesh
(let ((getAbsoluteTransformation (get-irrlicht-proc "getAbsoluteTransformation" node)))
(getAbsoluteTransformation node)))
+(define-method (get-position (node <scene-node>))
+ (let ((getPosition (get-irrlicht-proc "getPosition" node)))
+ (getPosition node)))
+
(define-method (set-material-flag! (node <scene-node>) flag new-value)
((get-irrlicht-proc "setMaterialFlag" node)
node
(let ((setScale (get-irrlicht-proc "setScale" node)))
(setScale node scale)))
-(export <scene-node> add-animator! get-absolute-transformation set-material-flag!
+(export <scene-node> add-animator! get-absolute-transformation get-position set-material-flag!
set-material-texture! set-position! set-rotation! set-scale!)