Removing named namespace from code base.
This commit is contained in:
+3
-4
@@ -1,4 +1,4 @@
|
||||
#include "main.h"
|
||||
#include "main.h"
|
||||
|
||||
#ifdef global
|
||||
#undef global
|
||||
@@ -53,7 +53,7 @@ static bool animateCamera = true;
|
||||
static bool freeCameraMode = false;
|
||||
static float camYaw = 0.0f;
|
||||
static float camPitch = 0.0f;
|
||||
static Juliet::Vector3 camPos = { 25.0f, 0.0f, 12.5f };
|
||||
static Vector3 camPos = { 25.0f, 0.0f, 12.5f };
|
||||
|
||||
static float animateCubesTime = 0.0f;
|
||||
static float animateLightsTime = 0.0f;
|
||||
@@ -84,7 +84,6 @@ static float blueLightColor[3] = { 0.2f, 0.2f, 1.0f };
|
||||
// TODO : Remove main.h. Useless
|
||||
// May be remove that Application class, useless too.
|
||||
|
||||
using namespace Juliet;
|
||||
|
||||
namespace
|
||||
{
|
||||
@@ -505,7 +504,7 @@ void JulietApplication::Update(float deltaTime)
|
||||
|
||||
// Memory debugger toggle
|
||||
static bool toggleDebounce = false;
|
||||
if (IsKeyDown(Juliet::ScanCode::Home))
|
||||
if (IsKeyDown(ScanCode::Home))
|
||||
{
|
||||
if (!toggleDebounce)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user