Assume that we start at the first frame.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@130 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Andrzej Kapolka
2007-01-31 03:55:34 +00:00
parent 1cba0183f9
commit 1bdce080ae
@@ -94,7 +94,7 @@ public class TextureAnimator extends TextureController
} }
_translation.set( _translation.set(
(_fidx % _hframes) * _frameWidth, (_fidx % _hframes) * _frameWidth,
(_vframes - 1 - (_fidx / _hframes)) * _frameHeight, -(_fidx / _hframes) * _frameHeight,
0f); 0f);
} }