/* Auteur: Nicolas JANEY */ /* nicolas.janey@univ-fcomte.fr */ /* Novembre 2006 */ public class RotationY extends Transformation { public RotationY(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[2][2] = cs; c[0][2] = sn; c[2][0] = -sn; } }