forked from Mirrorlandia_minetest/minetest
Fix wield item glitch
This commit is contained in:
parent
22bc66d3a7
commit
13e7589fec
@ -646,7 +646,7 @@ void Camera::drawWieldedTool(irr::core::matrix4* translation)
|
|||||||
scene::ICameraSceneNode* cam = m_wieldmgr->getActiveCamera();
|
scene::ICameraSceneNode* cam = m_wieldmgr->getActiveCamera();
|
||||||
cam->setAspectRatio(m_cameranode->getAspectRatio());
|
cam->setAspectRatio(m_cameranode->getAspectRatio());
|
||||||
cam->setFOV(72.0*M_PI/180.0);
|
cam->setFOV(72.0*M_PI/180.0);
|
||||||
cam->setNearValue(0.1);
|
cam->setNearValue(10);
|
||||||
cam->setFarValue(1000);
|
cam->setFarValue(1000);
|
||||||
if (translation != NULL)
|
if (translation != NULL)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user