I want to caculate the angle between two SimpleVectors, I using the following code:
SimpleVector sp=new SimpleVector(0,1,0);
float angle=sp.calcAngle(new SimpleVector(0,0,1));
Logger.log("angle is "+angle);
I thought the angle should be 90, but the output "angle is 1.5707964", is there something I misunderstand? Thank you!