diff options
author | Kahrl <kahrl@gmx.net> | 2012-02-06 23:12:33 +0100 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-10 18:15:31 +0200 |
commit | 7d36833bd432f6912241093f4244037ea041b700 (patch) | |
tree | a0405b370dd116637732476820cf65b1484b1ea2 | |
parent | 1bbfd0b6d26e5fd683e5e103feb35802e4ac595f (diff) | |
download | minetest-7d36833bd432f6912241093f4244037ea041b700.tar.gz minetest-7d36833bd432f6912241093f4244037ea041b700.tar.bz2 minetest-7d36833bd432f6912241093f4244037ea041b700.zip |
Set fixed FOV for the wielded item
-rw-r--r-- | src/camera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/camera.cpp b/src/camera.cpp index 041dd9de5..b9e1273c6 100644 --- a/src/camera.cpp +++ b/src/camera.cpp @@ -504,7 +504,7 @@ void Camera::drawWieldedTool() // Draw the wielded node (in a separate scene manager) scene::ICameraSceneNode* cam = m_wieldmgr->getActiveCamera(); cam->setAspectRatio(m_cameranode->getAspectRatio()); - cam->setFOV(m_cameranode->getFOV()); + cam->setFOV(72.0*PI/180.0); cam->setNearValue(0.1); cam->setFarValue(100); m_wieldmgr->drawAll(); |