Example #1
0
 public static void main(String[] args) {
   Vector3 normal = new Vector3(0d, 1d, 0d);
   Vector3 u = new Vector3(-1, -1, -1);
   Vector3 r = Vector3.reflect(u, normal);
   System.out.println(r);
 }