/** * Changes the direction of this line by setting to the normalized value of the given vector. * * @param vector new direction of this line. Not modified. */ public void setVector(Vector3d vector) { this.normalizedVector.set(vector); normalize(); }