Large worlds · function
projectionScaleOf
Pixels a metre spans at one metre's distance: the screen's half of the switch distance.
Explained in Coordinates and units.
function projectionScaleOf(fovYDeg: number, heightPx: number): numberimport { projectionScaleOf } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
fovYDeg | number | |
heightPx | number |