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