Example #1
0
 public void copy_from(RayCollision other)
 {
     ray   = other.ray;
     shape = other.shape;
     start = other.start;
     end   = other.end;
 }
Example #2
0
        public RayCollision clone()
        {
            var clone = new RayCollision();

            clone.copy_from(this);

            return(clone);
        }