◆ GetDistanceFromOriginToCubeSurfacePointInDirection()

static float GetDistanceFromOriginToCubeSurfacePointInDirection ( Vector3  normalizedDirection,
float  cubeSize 
)
static
Parameters
normalizedDirectiondirection to check. must be a normalized vector.
cubeSizelength of the cube's edges
Returns
the computed distance

Referenced by VolumeTransforms.TransformBoxVolumeToSphericalVolume().

+ Here is the caller graph for this function: