Set fixed FOV for the wielded item
parent
1bbfd0b6d2
commit
7d36833bd4
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue