/* Une classe transformation geometrique translation */ /* */ /* Auteur: Nicolas JANEY */ /* nicolas.janey@univ-fcomte.fr */ /* Novembre 2009 */ public class Translation extends TransformationGeometrique3D { 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(Direction3D d) { super(); c[0][3] = d.getX(); c[1][3] = d.getY(); c[2][3] = d.getZ(); } public Translation(Translation t) { super(t); } }