Home
last modified time | relevance | path

Searched refs:cube2 (Results 1 – 1 of 1) sorted by relevance

/external/jmonkeyengine/engine/src/test/jme3test/batching/
DTestBatchNode.java56 cube2 = new Geometry("cube2", box); in simpleInitApp()
57 cube2.setMaterial(mat); in simpleInitApp()
60 TangentBinormalGenerator.generate(cube2); in simpleInitApp()
66 batch.attachChild(cube2); in simpleInitApp()
71 cube2.setLocalTranslation(0, 3, 0); in simpleInitApp()
82 Geometry cube2; field in TestBatchNode
89 cube2.setLocalTranslation(FastMath.sin(-time)*3, FastMath.cos(time)*3, 0); in simpleUpdate()
90 cube2.setLocalRotation(new Quaternion().fromAngleAxis(time, Vector3f.UNIT_Z)); in simpleUpdate()
91 cube2.setLocalScale(Math.max(FastMath.sin(time),0.5f)); in simpleUpdate()