don't include base zoom in GetUnzoomed; it's used to set the base zoom

(eg. BitmapText::UpdateBaseZoom)
This commit is contained in:
Glenn Maynard
2004-06-09 01:57:16 +00:00
parent c7b9d0488f
commit de0134628b
+2 -2
View File
@@ -103,8 +103,8 @@ public:
void SetXY( float x, float y ) { DestTweenState().pos.x = x; DestTweenState().pos.y = y; };
// height and width vary depending on zoom
float GetUnzoomedWidth() { return m_size.x * m_baseScale.x; }
float GetUnzoomedHeight() { return m_size.y * m_baseScale.y; }
float GetUnzoomedWidth() { return m_size.x; }
float GetUnzoomedHeight() { return m_size.y; }
float GetZoomedWidth() { return m_size.x * m_baseScale.x * DestTweenState().scale.x; }
float GetZoomedHeight() { return m_size.y * m_baseScale.y * DestTweenState().scale.y; }
void SetWidth( float width ) { m_size.x = width; }