public void setDirection(Vector3f direction) {
        this.direction = direction;
    }
Alter the direction of this segment.

@param direction the desired direction vector (alias created!)
jme3-core/src/main/java/com/jme3/math/LineSegment.java