/* Auteur: Nicolas JANEY */ /* nicolas.janey@univ-fcomte.fr */ /* Novembre 2006 */ public class RotationZ extends Transformation { public RotationZ(float a) { super(); a = a/180.0F*(float) Math.PI; float cs =(float) Math.cos(a); float sn =(float) Math.sin(a); c[0][0] = c[1][1] = cs; c[0][1] = -sn; c[1][0] = sn; } }