support new Camera/CameraControl

This commit is contained in:
2020-11-17 17:20:59 +08:00
parent fa986d369f
commit b58af7ac23
5 changed files with 32 additions and 26 deletions

View File

@@ -30,8 +30,8 @@ private:
Pipeline * pipeline =nullptr;
}m3d,m2d;
Renderable *ro_plane_grid[3],
*ro_round_rectangle =nullptr;
Renderable *ro_plane_grid[3],
*ro_round_rectangle =nullptr;
private:
@@ -105,7 +105,7 @@ private:
ro_round_rectangle=CreateRenderableRoundRectangle(db,m2d.material,&rrci);
}
camera.eye.Set(200,200,200,1.0);
camera.pos.Set(200,200,200,1.0);
}
bool InitScene()