Function Calculate-Cache-Level

Part of:

package terrain
( calculate-cache-level < vec > )
Function to determine the desired level of detail to be cached
for a given vector position of a patch in the world space.