|
|
|
@ -1,17 +1,14 @@
|
|
|
|
|
/*
|
|
|
|
|
Minetest
|
|
|
|
|
Copyright (C) 2010-2013 celeron55, Perttu Ahola <celeron55@gmail.com>
|
|
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU Lesser General Public License as published by
|
|
|
|
|
the Free Software Foundation; either version 2.1 of the License, or
|
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU Lesser General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public License along
|
|
|
|
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
@ -382,8 +379,6 @@ void Camera::update(LocalPlayer* player, f32 frametime, f32 busytime,
|
|
|
|
|
bool abort = false;
|
|
|
|
|
for (int i = BS; i <= BS*2.75; i++)
|
|
|
|
|
{
|
|
|
|
|
// Adds a farther away camera angle
|
|
|
|
|
for (int i = BS; i <= BS* 3.2; i++)
|
|
|
|
|
my_cp.X = m_camera_position.X + m_camera_direction.X*-i;
|
|
|
|
|
my_cp.Z = m_camera_position.Z + m_camera_direction.Z*-i;
|
|
|
|
|
if (i > 12)
|
|
|
|
@ -535,7 +530,6 @@ void Camera::updateViewingRange(f32 frametime_in, f32 busytime_in)
|
|
|
|
|
/*dstream<<__FUNCTION_NAME
|
|
|
|
|
<<": Collected "<<m_added_frames<<" frames, total of "
|
|
|
|
|
<<m_added_busytime<<"s."<<std::endl;
|
|
|
|
|
|
|
|
|
|
dstream<<"m_draw_control.blocks_drawn="
|
|
|
|
|
<<m_draw_control.blocks_drawn
|
|
|
|
|
<<", m_draw_control.blocks_would_have_drawn="
|
|
|
|
|