mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
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
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user