89101112131415161718
public static void main(String[] args) { Vector3 v=Vector3.of(1.0,2.0,3.0); System.out.println(v); v.normalise(); System.out.println(v); Vector3 d=Vector3.of(10.0,0.0,0.0); d.addMultiple(v, 5.0); System.out.println(d);