mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Atlas: More portable GL context usage. Smoother and more responsive terrain editing.
This was SVN commit r2705.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user