static float SphereCameraDistance (float radius, float fieldOfView)

Parameters

NameTypeDescription
radius float The radius of the sphere
fieldOfView float The field of view in degrees

Returns

TypeDescription
float The optimal distance from the center of the sphere
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.