Module veloren_voxygen::scene

source ยท

Re-exportsยง

Modulesยง

Structsยง

Constantsยง

Functionsยง

  • compute_scalar_fov ๐Ÿ”’
    Approximate a scalar field of view angle using the parameterization from section 4.3 of Lloydโ€™s thesis:
  • Compute a near-optimal warping parameter that helps minimize error in a shadow map.
  • Compute a near-optimal warping parameter that falls off quickly enough when the warp angle goes past the minimum field of view angle, for perspective projections.

Type Aliasesยง

  • is_daylight, array of active lights.