aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-06-22 00:07:08 +0100
committerYann Herklotz <ymherklotz@gmail.com>2018-06-22 00:07:08 +0100
commit8e038f0114a6a2f6d2971ac9772bd0a053e3ccef (patch)
tree585a6083d56ce5c46e02eda4ba83001cd6c281d8
parent9f2a6274a2e634e9b9b862f8b0c00a6a75768342 (diff)
downloadYAGE-8e038f0114a6a2f6d2971ac9772bd0a053e3ccef.tar.gz
YAGE-8e038f0114a6a2f6d2971ac9772bd0a053e3ccef.zip
Removing iostream
-rw-r--r--yage/core/imageloader.cpp5
-rw-r--r--yage/math/matrix.h4
-rw-r--r--yage/physics/particlebody.cpp1
-rw-r--r--yage/render/spritebatch.cpp3
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