Skip to content

Instantly share code, notes, and snippets.

View drone29a's full-sized avatar

Matt Revelle drone29a

View GitHub Profile
;;; 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)
(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 {[] []}
(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 {[] []}