Compute the half vector between this and the other vector. @param other the other vector @return this
(Vec3 other)
| 1369 | * @return this |
| 1370 | */ |
| 1371 | public Vec3 half(Vec3 other) { |
| 1372 | return this.add(other) |
| 1373 | .normalize(); |
| 1374 | } |
| 1375 | |
| 1376 | /** |
| 1377 | * Compute the half vector between this and the vector <tt>(x, y, z)</tt>. |