Atlas: More portable GL context usage. Smoother and more responsive terrain editing.

This was SVN commit r2705.
This commit is contained in:
Ykkrosh
2005-09-13 03:57:34 +00:00
parent 35591f4d24
commit 0b72d0f86c
18 changed files with 208 additions and 90 deletions
@@ -5,8 +5,6 @@
#include "ps/Game.h"
#include "graphics/Camera.h"
#include <assert.h>
bool InputProcessor::ProcessInput(GameLoopState* state)
{
if (! g_Game)
@@ -24,13 +22,6 @@ bool InputProcessor::ProcessInput(GameLoopState* state)
else
forwards.Normalize();
float l;
l = forwards.GetLength();
assert(fabsf(l - 1.f) < 0.0001f);
l = leftwards.GetLength();
assert(fabsf(l - 1.f) < 0.0001f);
bool moved = false;
if (state->input.scrollSpeed[0] != 0.0f)