Changed the way of getting an instance type

This commit is contained in:
andreja6
2018-04-11 06:42:11 -07:00
parent 59f6652396
commit 2b508cd017
5 changed files with 8 additions and 12 deletions

View File

@@ -99,7 +99,7 @@ void Demo::onInit() {
//dataModel->name = "undefined";
dataModel->parent = NULL;
PhysicalInstance* test = new PhysicalInstance();
Instance* test = new PhysicalInstance();
setDesiredFrameRate(FPSVal[index]);
app->debugCamera.setPosition(Vector3(0, 2, 10));
app->debugCamera.lookAt(Vector3(0, 2, 0));