MiniQuake2

src/miniquake2/renderer/classic/scene.ml

Provides miniquake2 renderer classic scene facilities for this project.

Package
miniquake2.renderer.classic.scene
Reachable
Yes

Imports

Declarations

addSprite

function addSprite(scene, model, entity, cameraUp, cameraRight)

Add sprite.

ParameterTypeDefaultDescription
scenedynamic—scene value consumed by this operation.
modeldynamic—model value consumed by this operation.
entitydynamic—entity value consumed by this operation.
cameraUpdynamic—cameraUp value consumed by this operation.
cameraRightdynamic—cameraRight value consumed by this operation.

View source

addToTextureChain

function addToTextureChain(chains, surface)

Add to texture chain.

ParameterTypeDefaultDescription
chainsdynamic—chains value consumed by this operation.
surfacedynamic—surface value consumed by this operation.

View source

findChain

function findChain(chains, imageName)

Find chain.

ParameterTypeDefaultDescription
chainsdynamic—chains value consumed by this operation.
imageNamedynamic—imageName value consumed by this operation.

View source

prepareMap

function prepareMap(map, images, entityFrame, lightStyles, dLights, modulate)

Prepare map.

ParameterTypeDefaultDescription
mapdynamic—map value consumed by this operation.
imagesdynamic—images value consumed by this operation.
entityFramedynamic—entityFrame value consumed by this operation.
lightStylesdynamic—lightStyles value consumed by this operation.
dLightsdynamic—dLights value consumed by this operation.
modulatedynamic—modulate value consumed by this operation.

View source