This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; In your gen-class: | |
:exposes-methods {update superUpdate | |
render superRender | |
doDebug superDoDebug} | |
;;; Your subclasses update that calls the super's update method which was mapped to | |
;;; superUpdate | |
(defn -update | |
[this #^Float/TYPE interp] | |
(.superUpdate this interp) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns motive.visual.Viewport | |
(:import (com.jme.app BaseSimpleGame) | |
(com.jme.bounding BoundingBox | |
BoundingSphere) | |
(com.jme.math Quaternion Vector3f) | |
(com.jme.scene.shape Box Sphere)) | |
(:gen-class | |
:extends com.jme.app.BaseSimpleGame | |
:init ctor | |
:constructors {[] []} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns motive.visual.Viewport | |
(:import (com.jme.app BaseSimpleGame) | |
(com.jme.bounding BoundingBox | |
BoundingSphere) | |
(com.jme.math Quaternion Vector3f) | |
(com.jme.scene.shape Box Sphere)) | |
(:gen-class | |
:extends com.jme.app.BaseSimpleGame | |
:init ctor | |
:constructors {[] []} |
NewerOlder