Added View3D control for rendering 3D shapes under a PerspectiveCamera, which is not currently working.

#story[1196]
This commit is contained in:
Connor Taylor-Brown
2017-08-30 01:30:05 +12:00
parent d630788a14
commit cf838f2072
5 changed files with 77 additions and 143 deletions
@@ -6,8 +6,10 @@ import javafx.scene.control.ButtonType;
import javafx.scene.control.SplitPane;
import javafx.scene.image.ImageView;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.GridPane;
import mock.app.Event;
import mock.exceptions.EventConstructionException;
import visualiser.model.View3D;
import java.io.IOException;
import java.net.Socket;
@@ -44,11 +46,18 @@ public class HostController extends Controller {
@FXML
AnchorPane specPane;
@FXML
GridPane playerContainer;
private Event game;
private View3D fancyStuff;
@Override
public void initialize(URL location, ResourceBundle resources) {
fancyStuff = new View3D();
playerContainer.add(fancyStuff, 0,0);
fancyStuff.spinBox();
}
/**