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