MiniQuake

src/miniquake/world_hull.ml

Package
miniquake.world_hull
Reachable
Yes

Imports

Declarations

createBoxHull

function createBoxHull(mins, maxs)

Create and initialize box hull.

ParameterTypeDefaultDescription
minsdynamic—The mins input consumed by `createBoxHull`.
maxsdynamic—The maxs input consumed by `createBoxHull`.

View source

emptyPlane

function emptyPlane()

Implements the `emptyPlane` operation for `miniquake.world_hull` (empty plane).

View source

inside

function inside(box, point)

Implements the `inside` operation for `miniquake.world_hull` (inside).

ParameterTypeDefaultDescription
boxdynamic—The box input consumed by `inside`.
pointdynamic—The point input consumed by `inside`.

View source

pointContentsFromNode

function pointContentsFromNode(box, number, point)

Implements the `pointContentsFromNode` operation for `miniquake.world_hull` (point contents from node).

ParameterTypeDefaultDescription
boxdynamic—The box input consumed by `pointContentsFromNode`.
numberdynamic—The number input consumed by `pointContentsFromNode`.
pointdynamic—The point input consumed by `pointContentsFromNode`.

View source

traceLine

function traceLine(box, start, finish)

Implements the `traceLine` operation for `miniquake.world_hull` (trace line).

ParameterTypeDefaultDescription
boxdynamic—The box input consumed by `traceLine`.
startdynamic—The start input consumed by `traceLine`.
finishdynamic—The finish input consumed by `traceLine`.

View source

truePointContents

function truePointContents(box, point)

Implements the `truePointContents` operation for `miniquake.world_hull` (true point contents).

ParameterTypeDefaultDescription
boxdynamic—The box input consumed by `truePointContents`.
pointdynamic—The point input consumed by `truePointContents`.

View source