From 8e038f0114a6a2f6d2971ac9772bd0a053e3ccef Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Fri, 22 Jun 2018 00:07:08 +0100 Subject: Removing iostream --- yage/core/imageloader.cpp | 5 ----- yage/math/matrix.h | 4 ---- yage/physics/particlebody.cpp | 1 - yage/render/spritebatch.cpp | 3 --- 4 files changed, 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 #include -#include #include -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(width), static_cast(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 #include -#include #include #include #include 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 #include -#include 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 -#include #include -using std::cout; - #include namespace yage -- cgit