diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-06-22 00:07:08 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-06-22 00:07:08 +0100 |
commit | 8e038f0114a6a2f6d2971ac9772bd0a053e3ccef (patch) | |
tree | 585a6083d56ce5c46e02eda4ba83001cd6c281d8 | |
parent | 9f2a6274a2e634e9b9b862f8b0c00a6a75768342 (diff) | |
download | YAGE-8e038f0114a6a2f6d2971ac9772bd0a053e3ccef.tar.gz YAGE-8e038f0114a6a2f6d2971ac9772bd0a053e3ccef.zip |
Removing iostream
-rw-r--r-- | yage/core/imageloader.cpp | 5 | ||||
-rw-r--r-- | yage/math/matrix.h | 4 | ||||
-rw-r--r-- | yage/physics/particlebody.cpp | 1 | ||||
-rw-r--r-- | yage/render/spritebatch.cpp | 3 |
4 files changed, 0 insertions, 13 deletions
diff --git a/yage/core/imageloader.cpp b/yage/core/imageloader.cpp index 4905bf5e..d3c978c1 100644 --- a/yage/core/imageloader.cpp +++ b/yage/core/imageloader.cpp @@ -11,15 +11,11 @@ #include "../data/texture.h" #include "logger.h" #include "stb_image.h" -#include <iostream> #include <glad/glad.h> -#include <iostream> #include <stdexcept> -using std::cout; - namespace yage { @@ -32,7 +28,6 @@ Texture ImageLoader::loadPng(const std::string &file_path) yLogDebug << "Sucessfully loaded file"; Texture texture(0, static_cast<int>(width), static_cast<int>(height)); yLogDebug << "Creating texture"; - cout << "Hello"; glGenTextures(1, &texture.id); glBindTexture(GL_TEXTURE_2D, texture.id); diff --git a/yage/math/matrix.h b/yage/math/matrix.h index a41c522f..c1a93413 100644 --- a/yage/math/matrix.h +++ b/yage/math/matrix.h @@ -7,14 +7,10 @@ * ---------------------------------------------------------------------------- */ -/** @file - */ - #pragma once #include <algorithm> #include <exception> -#include <iostream> #include <sstream> #include <string> #include <vector> diff --git a/yage/physics/particlebody.cpp b/yage/physics/particlebody.cpp index 49520558..c6d8f469 100644 --- a/yage/physics/particlebody.cpp +++ b/yage/physics/particlebody.cpp @@ -10,7 +10,6 @@ #include <yage/physics/particlebody.h> #include <cmath> -#include <iostream> namespace yage { diff --git a/yage/render/spritebatch.cpp b/yage/render/spritebatch.cpp index fc0103f4..bfce102a 100644 --- a/yage/render/spritebatch.cpp +++ b/yage/render/spritebatch.cpp @@ -11,11 +11,8 @@ #include "../core/logger.h" #include <algorithm> -#include <iostream> #include <stdexcept> -using std::cout; - #include <GLFW/glfw3.h> namespace yage |