◆
GetDistanceFromOriginToCubeSurfacePointInDirection()
static float GetDistanceFromOriginToCubeSurfacePointInDirection
(
Vector3
normalizedDirection
,
float
cubeSize
)
static
Parameters
normalizedDirection
direction to check. must be a normalized vector.
cubeSize
length of the cube's edges
Returns
the computed distance
Referenced by
VolumeTransforms.TransformBoxVolumeToSphericalVolume()
.
Here is the caller graph for this function:
EyE
Unity
Tools
VolumeTransforms