This commit is contained in:
Glenn Maynard
2005-11-28 20:33:20 +00:00
parent 220602d4a2
commit 77c6ffdfd1
+2 -2
View File
@@ -292,7 +292,7 @@ void Sprite::UpdateAnimationState()
}
/*
* We treat .sprite/frame animation and movie animation slightly differently.
* We treat frame animation and movie animation slightly differently.
*
* Sprite animation is always tied directly to the effect timer. If you pause
* animation, wait a while and restart it, sprite animations will snap back to the
@@ -352,7 +352,7 @@ void Sprite::Update( float fDelta )
/* When wrapping, avoid gradual loss of precision and sending unreasonably large
* texture coordinates to the renderer by pushing texture coordinates back to 0.
* As long as we adjust all four coordinates by the same amount,this won't be visible. */
* As long as we adjust all four coordinates by the same amount, this won't be visible. */
if( m_bTextureWrapping )
{
const float fXAdjust = floorf( fTexCoords[0] );