I believe I've found problem with Vector2f,
Code:
import org.newdawn.slick.geom.Transform;
import org.newdawn.slick.geom.Vector2f;
public class Test {
public static void main(String[] args) {
Vector2f x = new Vector2f(0,1);
x.add(10);
System.out.println(x);
x = new Vector2f(1,0);
x.setTheta(1);
System.out.println(x);
System.out.println(new Vector2f(1));
}
}
comes up with
Code:
[Vector2f NaN,NaN (NaN)]
[Vector2f 0.9998477,Infinity (Infinity)]
[Vector2f 0.0,NaN (NaN)]
Which is not what I was expecting for a rotation...
Forgive me if I'm confused about the purpose of the functionality...