[java] How does the picture rotation in java works?
Does the picture rotation functions in swing/awt/applet, LWJGL ext. use the simple algorithm of trigonometry conversions for each pixel in the picture to rotate it, or does they use somthing more efficient?
it aims for precision, not speed. It might use a 3x3 matrix to do the calculations, but it's all the same trig, just packed in a convenient form.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement