[java] How does the picture rotation in java works?

Started by
1 comment, last by someboddy 18 years, 9 months ago
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?
-----------------------------------------Everyboddy need someboddy!
Advertisement
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.

[Formerly "capn_midnight". See some of my projects. Find me on twitter tumblr G+ Github.]

well, I just think I ave a better algorithm
-----------------------------------------Everyboddy need someboddy!

This topic is closed to new replies.

Advertisement