From: Kahrl Date: Mon, 6 Feb 2012 22:12:33 +0000 (+0100) Subject: Set fixed FOV for the wielded item X-Git-Tag: 0.4.dev-20120318~70 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7d36833bd432f6912241093f4244037ea041b700;p=oweals%2Fminetest.git Set fixed FOV for the wielded item --- 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();