Skip to content

Commit

Permalink
make fox camera spin
Browse files Browse the repository at this point in the history
  • Loading branch information
redthing1 committed Mar 15, 2021
1 parent 3fc463b commit 22afc6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/table/source/play.d
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class PlayScene : Scene3D {
auto fox_model = fox.add_component(new Model3D(fox_asset));

// add a camera to look at the fox
// cam.entity.add_component(new CameraOrbit(fox, 0.2));
cam.entity.add_component(new CameraFreeLook(fox));
cam.entity.add_component(new CameraOrbit(fox, 0.2));
// cam.entity.add_component(new CameraFreeLook(fox));

// draw a grid at the origin
auto grid = create_entity("grid");
Expand Down

0 comments on commit 22afc6c

Please sign in to comment.