From 1bb0ef8960c71ef505a351702bec54c01ba15e22 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Thu, 12 Oct 2017 14:57:26 +0100 Subject: Fixing spritesheet and fixed #12 --- yage/base/spritebatch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yage/base/spritebatch.cpp') diff --git a/yage/base/spritebatch.cpp b/yage/base/spritebatch.cpp index 3aec8153..aaeec32f 100644 --- a/yage/base/spritebatch.cpp +++ b/yage/base/spritebatch.cpp @@ -61,8 +61,8 @@ void SpriteBatch::end() createRenderBatches(); } -void SpriteBatch::draw(const glm::vec4 &destination_rect, - const glm::vec4 &uv_rect, GLuint texture, +void SpriteBatch::draw(const yage::Vector4f &destination_rect, + const yage::Vector4f &uv_rect, GLuint texture, const Color &color, float depth) { Vertex top_left, top_right, bottom_right, bottom_left; -- cgit