Added adapter interface for PerspectiveCamera frustum and transformations in View3D.

- Tested interface while initialising HostController

#story[1196]
This commit is contained in:
Connor Taylor-Brown
2017-08-30 15:05:08 +12:00
parent e04f199fc7
commit bb7eb7cb44
2 changed files with 110 additions and 14 deletions
@@ -52,13 +52,18 @@ public class HostController extends Controller {
private Event game;
private View3D fancyStuff;
private View3D view3D;
@Override
public void initialize(URL location, ResourceBundle resources) {
fancyStuff = new View3D();
playerContainer.add(fancyStuff, 0,0);
fancyStuff.addShape(new Box(100,100,100));
view3D = new View3D();
playerContainer.add(view3D, 0,0);
Box box = new Box(100, 100, 100);
view3D.addShape(box);
view3D.setPivot(box);
view3D.setDistance(500);
view3D.setPitch(20);
}
/**