aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-08-24 01:27:57 +0100
committerYann Herklotz <ymherklotz@gmail.com>2017-08-24 01:27:57 +0100
commitf9cc383fc697a884413bda65d75e0e13dfcf3cbb (patch)
treed14fc79e12e0a4983cbbc60167a8d1ef34daaa89 /src
parentf96af48ad82f1ddfab1402ca5c6eafd82af2b217 (diff)
downloadYAGE-f9cc383fc697a884413bda65d75e0e13dfcf3cbb.tar.gz
YAGE-f9cc383fc697a884413bda65d75e0e13dfcf3cbb.zip
Fixing namespace.
Diffstat (limited to 'src')
-rw-r--r--src/body.cpp2
-rw-r--r--src/camera2d.cpp2
-rw-r--r--src/glslprogram.cpp2
-rw-r--r--src/imageloader.cpp2
-rw-r--r--src/inputmanager.cpp2
-rw-r--r--src/iomanager.cpp2
-rw-r--r--src/particlebody.cpp2
-rw-r--r--src/picopng.cpp2
-rw-r--r--src/rectanglecollider.cpp2
-rw-r--r--src/resourcemanager.cpp2
-rw-r--r--src/rigidbody.cpp2
-rw-r--r--src/sprite.cpp2
-rw-r--r--src/spritebatch.cpp2
-rw-r--r--src/texturecache.cpp2
-rw-r--r--src/window.cpp2
15 files changed, 15 insertions, 15 deletions
diff --git a/src/body.cpp b/src/body.cpp
index 036059a3..e38cd641 100644
--- a/src/body.cpp
+++ b/src/body.cpp
@@ -31,4 +31,4 @@ Body::Body(Vector2d position, double mass, Vector2d velocity, bool gravity)
{
}
-} // yage
+} // namespace yage
diff --git a/src/camera2d.cpp b/src/camera2d.cpp
index 9f210ddc..0ddd454e 100644
--- a/src/camera2d.cpp
+++ b/src/camera2d.cpp
@@ -42,4 +42,4 @@ void Camera2D::move(const glm::vec2 &direction)
matrix_needs_update_ = true;
}
-} // yage
+} // namespace yage
diff --git a/src/glslprogram.cpp b/src/glslprogram.cpp
index d77f373d..d148ea8b 100644
--- a/src/glslprogram.cpp
+++ b/src/glslprogram.cpp
@@ -159,4 +159,4 @@ void GlslProgram::unuse()
glUseProgram(0);
}
-} // yage
+} // namespace yage
diff --git a/src/imageloader.cpp b/src/imageloader.cpp
index 95c73021..a833f754 100644
--- a/src/imageloader.cpp
+++ b/src/imageloader.cpp
@@ -57,4 +57,4 @@ Texture ImageLoader::loadPng(const std::string &file_path)
return texture;
}
-} // yage
+} // namespace yage
diff --git a/src/inputmanager.cpp b/src/inputmanager.cpp
index 1595dba0..4e1abdf2 100644
--- a/src/inputmanager.cpp
+++ b/src/inputmanager.cpp
@@ -30,4 +30,4 @@ bool InputManager::isKeyPressed(unsigned key) const
return false;
}
-} // yage
+} // namespace yage
diff --git a/src/iomanager.cpp b/src/iomanager.cpp
index 60cd7201..7ecd6795 100644
--- a/src/iomanager.cpp
+++ b/src/iomanager.cpp
@@ -39,4 +39,4 @@ bool IoManager::readFileToBuffer(const std::string &file_path,
return true;
}
-} // yage
+} // namespace yage
diff --git a/src/particlebody.cpp b/src/particlebody.cpp
index 3eea4183..216f2db9 100644
--- a/src/particlebody.cpp
+++ b/src/particlebody.cpp
@@ -51,4 +51,4 @@ void ParticleBody::update()
velocity_ += avg_acceleration * time_step;
}
-} // yage
+} // namespace yage
diff --git a/src/picopng.cpp b/src/picopng.cpp
index 337038ba..401fb932 100644
--- a/src/picopng.cpp
+++ b/src/picopng.cpp
@@ -1115,4 +1115,4 @@ int decodePNG(std::vector<unsigned char> &out_image, unsigned long &image_width,
return decoder.error;
}
-} // yage
+} // namespace yage
diff --git a/src/rectanglecollider.cpp b/src/rectanglecollider.cpp
index 936ac06a..71913817 100644
--- a/src/rectanglecollider.cpp
+++ b/src/rectanglecollider.cpp
@@ -33,4 +33,4 @@ inline bool RectangleCollider::inside(const glm::vec2 &point) const
position_.y < point.y && position_.y + size_.y > point.y;
}
-} // yage
+} // namespace yage
diff --git a/src/resourcemanager.cpp b/src/resourcemanager.cpp
index 8444161f..a7c07207 100644
--- a/src/resourcemanager.cpp
+++ b/src/resourcemanager.cpp
@@ -18,4 +18,4 @@ Texture ResourceManager::getTexture(const std::string &texture_path)
return texture_cache_.getTexture(texture_path);
}
-} // yage
+} // namespace yage
diff --git a/src/rigidbody.cpp b/src/rigidbody.cpp
index deb8aee9..2b57beaf 100644
--- a/src/rigidbody.cpp
+++ b/src/rigidbody.cpp
@@ -17,4 +17,4 @@ RigidBody::RigidBody(const Vector2d &position, double mass,
{
}
-} // yage
+} // namespace yage
diff --git a/src/sprite.cpp b/src/sprite.cpp
index 92dd584c..b4584561 100644
--- a/src/sprite.cpp
+++ b/src/sprite.cpp
@@ -94,4 +94,4 @@ void Sprite::draw()
glBindBuffer(GL_ARRAY_BUFFER, 0);
}
-} // yage
+} // namespace yage
diff --git a/src/spritebatch.cpp b/src/spritebatch.cpp
index 4d4f1b19..8cfc8bc2 100644
--- a/src/spritebatch.cpp
+++ b/src/spritebatch.cpp
@@ -190,4 +190,4 @@ void SpriteBatch::sortGlyphs()
});
}
-} // yage
+} // namespace yage
diff --git a/src/texturecache.cpp b/src/texturecache.cpp
index 5ce89dc1..4e6c9bcf 100644
--- a/src/texturecache.cpp
+++ b/src/texturecache.cpp
@@ -27,4 +27,4 @@ Texture TextureCache::getTexture(const std::string &texture_path)
return itr->second;
}
-} // yage
+} // namespace yage
diff --git a/src/window.cpp b/src/window.cpp
index 6eca459d..e5a6582b 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -95,4 +95,4 @@ void Window::clearBuffer()
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
}
-} // yage
+} // namespace yage