clone method

RaycastResult<T> clone()

Implementation

RaycastResult<T> clone() {
  return RaycastResult(
    hitbox: hitbox,
    reflectionRay: _reflectionRay.clone(),
    normal: _normal.clone(),
    distance: distance,
    isInsideHitbox: isInsideHitbox,
  );
}