camera_compute_distance_to_fit_length
camera_compute_distance_to_fit_length(length, fov) ⇒ number
Compute camera distance offset in order to fit a given length (height) into view completely
Kind: global function
| Param | Type | Description |
|---|---|---|
| length | number | Height of the focus area in world space |
| fov | number | Field of View in radians |