Skip to content

Commit

Permalink
Samples: show cursor for orbiting samples
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Dec 1, 2017
1 parent eef60d5 commit 5ee0db4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Samples/Grass/include/Grass.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ class _OgreSampleClassExport Sample_Grass : public SdkSample
setupLighting();

mCameraMan->setStyle(CS_ORBIT);
mTrayMgr->showCursor();
mCameraMan->setYawPitchDist(Degree(0), Degree(25), 200);
}

Expand Down
1 change: 1 addition & 0 deletions Samples/HLMS/include/HLMS.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ class _OgreSampleClassExport Sample_HLMS : public SdkSample
}

mCameraMan->setStyle(CS_ORBIT);
mTrayMgr->showCursor();
mCameraMan->setYawPitchDist(Degree(0), Degree(25), 20);
mCameraMan->setTopSpeed(5);
mCamera->setNearClipDistance(1);
Expand Down
1 change: 1 addition & 0 deletions Samples/SkeletalAnimation/include/SkeletalAnimation.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ class _OgreSampleClassExport Sample_SkeletalAnimation : public SdkSample

// set camera initial transform and speed
mCameraMan->setStyle(CS_ORBIT);
mTrayMgr->showCursor();
mCameraMan->setYawPitchDist(Degree(0), Degree(25), 100);
mCameraMan->setTopSpeed(50);

Expand Down

0 comments on commit 5ee0db4

Please sign in to comment.