나는 버튼
@Override
public void render() {
SpriteBatch batch = new SpriteBatch();
batch.begin();
batch.draw(gemTexture, 10, 10, 100, 100);
batch.end();
if (Gdx.input.isTouched()) {
rotateRight();
}
} 클릭에 자체에 의 SpriteBatch를 회전하고 싶은
private void rotateRight() {
// How do I rotate it to look like
}
이와 비슷한 기능이 있습니까? http://stackoverflow.com/questions/9445035/rotate-image-clockwise-using-libgdx – Robb