예제 #1
0
    public VoxelHitInfo GetHitInfo(RaycastHit hit)
    {
        var direction = _meshRayCastUseCase.HitDirection.Value;

        return(new VoxelHitInfo(this, hit.point, VoxelUtility.DirectionalCenterPoint(CachedTransform.position, direction), direction));
    }