/* Auteur: Nicolas JANEY */ /* nicolas.janey@univ-fcomte.fr */ /* Octobre 2007 */ /* Une classe transformation geometrique translation */ public class Translation extends Transformation { public Translation() { super(); } public Translation(float x,float y,float z) { super(); c[0][3] = x; c[1][3] = y; c[2][3] = z; } public Translation(Direction d) { super(); c[0][3] = d.getX(); c[1][3] = d.getY(); c[2][3] = d.getZ(); } public Translation(Translation t) { super(t); } }