From 62f139c60439a133e3f5b070a933d2037c51cb45 Mon Sep 17 00:00:00 2001 From: cir27 Date: Fri, 8 Sep 2017 01:51:31 +1200 Subject: [PATCH] Added 3D window to GameView3D to begin adding assets to. Used it to refine all 3D assets implemented by ModelFactory and manually test that they work. #implement #test --- src/main/java/seng302/visualiser/GameView3D.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/seng302/visualiser/GameView3D.java b/src/main/java/seng302/visualiser/GameView3D.java index 9c89ed1c..aa5672b4 100644 --- a/src/main/java/seng302/visualiser/GameView3D.java +++ b/src/main/java/seng302/visualiser/GameView3D.java @@ -52,7 +52,7 @@ public class GameView3D { Sphere bottom = new Sphere(1); bottom.setMaterial(new PhongMaterial(Color.BLANCHEDALMOND)); bottom.getTransforms().add(new Translate(0, Math.tan(Math.toRadians(FOV / 2)) * DEFAULT_CAMERA_DEPTH, 0)); - + Node boat = ModelFactory.boatGameView(BoatMeshType.DINGHY, Color.BLUE).getAssets(); Node boat2 = ModelFactory.boatGameView(BoatMeshType.DINGHY, Color.BROWN).getAssets(); boat2.getTransforms().add(new Translate(0,20, 0));