MiniQuake2

src/miniquake2/runtime/preview_camera.ml

Provides miniquake2 runtime preview camera facilities for this project.

Package
miniquake2.runtime.preview_camera
Reachable
Yes

Imports

Declarations

applyUserCmd

function applyUserCmd(camera, command, viewAngles, frameMsec)

Apply user cmd.

ParameterTypeDefaultDescription
cameradynamic—camera value consumed by this operation.
commanddynamic—command value consumed by this operation.
viewAnglesdynamic—viewAngles value consumed by this operation.
frameMsecdynamic—frameMsec value consumed by this operation.

View source

create

function create(origin, angles)

Creates create for the miniquake2 runtime preview camera module.

ParameterTypeDefaultDescription
origindynamic—origin value consumed by this operation.
anglesdynamic—angles value consumed by this operation.

View source

miniquake2.runtime.preview_camera.PreviewCamera struct