From 048dc4fb3471e019f113938729ff60ca6319c8a5 Mon Sep 17 00:00:00 2001 From: James Turk Date: Mon, 2 Dec 2002 05:46:37 +0000 Subject: [PATCH] small fix related to using ZImage::Flip with rotate --- src/ZE_ZImage.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ZE_ZImage.cpp b/src/ZE_ZImage.cpp index b632d67..9cdedc7 100644 --- a/src/ZE_ZImage.cpp +++ b/src/ZE_ZImage.cpp @@ -13,7 +13,7 @@ File: ZE_ZImage.cpp
Description: Implementation source file for core ZEngine Image or Texture Object.
Author(s): James Turk, Gamer Tazar
-$Id: ZE_ZImage.cpp,v 1.5 2002/12/02 05:18:52 cozman Exp $
+$Id: ZE_ZImage.cpp,v 1.6 2002/12/02 05:46:37 cozman Exp $
\file ZE_ZImage.cpp \brief Source file for ZImage. @@ -210,10 +210,10 @@ void ZImage::DrawRotated(int x, int y, float angle) glRotatef(angle,0,0,1.0f); Bind(); glBegin(GL_TRIANGLE_STRIP); - glTexCoord2f(0.0f,0.0f); glVertex2f(-cX, -cY); - glTexCoord2f(rTexMaxX,0.0f); glVertex2f(-cX+rWidth, -cY); - glTexCoord2f(0.0f,rTexMaxY); glVertex2f(-cX, -cY+rHeight); - glTexCoord2f(rTexMaxX,rTexMaxY); glVertex2f(-cX+rWidth, -cY+rHeight); + glTexCoord2f(rTexMinX,rTexMinY); glVertex2f(-cX,-cY); + glTexCoord2f(rTexMaxX,rTexMinY); glVertex2f(-cX+rWidth,-cY); + glTexCoord2f(rTexMinX,rTexMaxY); glVertex2f(-cX,-cY+rHeight); + glTexCoord2f(rTexMaxX,rTexMaxY); glVertex2f(-cX+rWidth,-cY+rHeight); glEnd(); glPopMatrix(); }