Rev 43 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 43 | Rev 44 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | package test.fraktal3d; |
1 | package de.viathinksoft.marschall.raumplan.fraktal3d; |
2 | import com.jme.app.SimpleGame; |
2 | import com.jme.app.SimpleGame; |
3 | import com.jme.math.Vector3f; |
3 | import com.jme.math.Vector3f; |
4 | 4 | ||
5 | public class BouncingBall extends SimpleGame { |
5 | public class RaumplanFraktal3D extends SimpleGame { |
6 | 6 | ||
7 | @Override |
7 | @Override |
8 | protected void simpleInitGame() { |
8 | protected void simpleInitGame() { |
9 | cam.setLocation(new Vector3f(0, 50, 150)); |
9 | cam.setLocation(new Vector3f(0, 50, 150)); |
10 | new Raumplan(rootNode, 50, 25, 0, 0, 0, LockDirectoryEnum.LOCK_NOTHING, 1); |
10 | new Kubus(rootNode, 50, 25, 0, 0, 0, LockDirectoryEnum.LOCK_NOTHING, 1); |
11 | } |
11 | } |
12 | 12 | ||
13 | /** |
13 | /** |
14 | * @param args |
14 | * @param args |
15 | */ |
15 | */ |
16 | public static void main(String[] args) { |
16 | public static void main(String[] args) { |
17 | BouncingBall ball = new BouncingBall(); |
17 | RaumplanFraktal3D ball = new RaumplanFraktal3D(); |
18 | ball.setConfigShowMode(ConfigShowMode.ShowIfNoConfig); |
18 | ball.setConfigShowMode(ConfigShowMode.ShowIfNoConfig); |
19 | ball.start(); |
19 | ball.start(); |
20 | } |
20 | } |
21 | } |
21 | } |