public void set(Ray source) {
        origin.set(source.getOrigin());
        direction.set(source.getDirection());
    }
Copies information from a source ray into this ray.

@param source
           the ray to copy information from
jme3-core/src/main/java/com/jme3/math/Ray.java