MiniQuake2

src/miniquake2/renderer/classic/constants.ml

Provides miniquake2 renderer classic constants facilities for this project.

Package
miniquake2.renderer.classic.constants
Reachable
Yes

Declarations

BACKFACE_FIXED_EPSILON

const BACKFACE_FIXED_EPSILON = 655

Defines the backface fixed epsilon constant used by the miniquake2 renderer classic constants module.

View source

CULL_COORD_SCALE

const CULL_COORD_SCALE = 16

Hot visibility tests use tagged integers instead of allocating boxed float

View source

CULL_MARGIN

const CULL_MARGIN = 65536

Defines the cull margin constant used by the miniquake2 renderer classic constants module.

View source

CULL_NORMAL_SCALE

const CULL_NORMAL_SCALE = 4096

Protocol-34 coordinates span signed-short / 8. A 4096 normal scale keeps

View source

CULL_PRODUCT_SCALE

const CULL_PRODUCT_SCALE = 65536

Defines the cull product scale constant used by the miniquake2 renderer classic constants module.

View source

DLIGHT_CUTOFF

const DLIGHT_CUTOFF = 64.

Defines the dlight cutoff constant used by the miniquake2 renderer classic constants module.

View source

LIGHTMAP_BYTES

const LIGHTMAP_BYTES = 4

Defines the lightmap bytes constant used by the miniquake2 renderer classic constants module.

View source

LIGHTMAP_SAMPLE_SIZE

const LIGHTMAP_SAMPLE_SIZE = 16

Defines the lightmap sample size constant used by the miniquake2 renderer classic constants module.

View source

MATERIAL_NODRAW

const MATERIAL_NODRAW = 4

Defines the material nodraw constant used by the miniquake2 renderer classic constants module.

View source

MATERIAL_OPAQUE

const MATERIAL_OPAQUE = 0

Defines the material opaque constant used by the miniquake2 renderer classic constants module.

View source

MATERIAL_SKY

const MATERIAL_SKY = 3

Defines the material sky constant used by the miniquake2 renderer classic constants module.

View source

MATERIAL_TRANSPARENT

const MATERIAL_TRANSPARENT = 2

Defines the material transparent constant used by the miniquake2 renderer classic constants module.

View source

MATERIAL_WARP

const MATERIAL_WARP = 1

Defines the material warp constant used by the miniquake2 renderer classic constants module.

View source

MAX_BLOCKLIGHTS

const MAX_BLOCKLIGHTS = 34 * 34

Defines the max blocklights constant used by the miniquake2 renderer classic constants module.

View source

MAX_LIGHTMAPS

const MAX_LIGHTMAPS = 4

Defines the max lightmaps constant used by the miniquake2 renderer classic constants module.

View source