This looks suspiciously like a bug.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3586 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: OrientableImageSprite.java,v 1.5 2004/10/15 18:20:28 andrzej Exp $
|
// $Id$
|
||||||
//
|
//
|
||||||
// Narya library - tools for developing networked games
|
// Narya library - tools for developing networked games
|
||||||
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
||||||
@@ -144,7 +144,7 @@ public class OrientableImageSprite extends ImageSprite
|
|||||||
|
|
||||||
return AffineTransform.getRotateInstance(
|
return AffineTransform.getRotateInstance(
|
||||||
theta,
|
theta,
|
||||||
(_ox - _oyoff) + _frames.getWidth(_frameIdx)/2,
|
(_ox - _oxoff) + _frames.getWidth(_frameIdx)/2,
|
||||||
(_oy - _oyoff) + _frames.getHeight(_frameIdx)/2
|
(_oy - _oyoff) + _frames.getHeight(_frameIdx)/2
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user