Pro Java 9 Games Development Leveraging the JavaFX APIs

(Michael S) #1
Chapter 14 ■ 3D MoDel hierarChy Creation: Using priMitives to Create a gaMe BoarD

Figure 14-9 shows a Run ➤ Project work process showing a game board square and quadrant rendered
at 0,0.


Figure 14-8. Change the .add() method call to an .addAll() method call; add the q1 Box primitive for your
first quadrant


Figure 14-9. Select Run ➤ Project and render your 3D Scene; both the quadrant and game board square are
at 0,0,0

Free download pdf