- <init>
Constructs a copy of the specified vector.
- cross
Returns the cross product of this vector u and the specified vector v.
- dot
Returns the dot product of this vector u and the specified vector v.
- length
Returns the length of this vector.
- lengthSquared
Returns the length-squared of this vector.
- normalize
Returns the unit vector with the same direction as this vector.
- equals
- negate
Returns the negation -u of this vector u.
- normalizeEquals
Normalizes this vector to have unit length; makes this a unit vector.
- plus
Returns the vector sum u+v for this vector u.
- plusEquals
Adds a vector v to this vector u.
- times
Returns the scaled vector s*u for this vector u.