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:
@@ -94,7 +94,7 @@ public class TextureAnimator extends TextureController
|
||||
}
|
||||
_translation.set(
|
||||
(_fidx % _hframes) * _frameWidth,
|
||||
(_vframes - 1 - (_fidx / _hframes)) * _frameHeight,
|
||||
-(_fidx / _hframes) * _frameHeight,
|
||||
0f);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user