mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-29 13:27:59 +03:00
Various collision changes:
- no collision with NCO objects - better camera control (no turning the camera upside down) - up/down buttons (shift/ctrl) does not move the player when walking - eye level adjusted - various updates git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@55 ea6a568a-9f4f-0410-981a-c910a81bb256
This commit is contained in:
parent
e927c9a70e
commit
08ba0278a1
9 changed files with 236 additions and 97 deletions
|
@ -182,6 +182,8 @@ extern "C" void ogre_makeScene()
|
|||
// Alter the camera aspect ratio to match the viewport
|
||||
mCamera->setAspectRatio(Real(vp->getActualWidth()) / Real(vp->getActualHeight()));
|
||||
|
||||
mCamera->setFOVy(Degree(55));
|
||||
|
||||
// Set default mipmap level (NB some APIs ignore this)
|
||||
TextureManager::getSingleton().setDefaultNumMipmaps(5);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue