Files
src/miniquake2/renderer/classic/vector.ml
Provides miniquake2 renderer classic vector facilities for this project.
- Package
miniquake2.renderer.classic.vector- Reachable
- Yes
Imports
Declarations
# add
inline function add(first, second)
Adds add to the state managed by the miniquake2 renderer classic vector module.
| Parameter | Type | Default | Description |
|---|
first | dynamic | — | first value consumed by this operation. |
second | dynamic | — | second value consumed by this operation. |
View source
# copy
inline function copy(value)
Performs the copy operation for the miniquake2 renderer classic vector module.
| Parameter | Type | Default | Description |
|---|
value | dynamic | — | Value consumed or transformed by the operation. |
View source
# dot
inline function dot(first, second)
Performs the dot operation for the miniquake2 renderer classic vector module.
| Parameter | Type | Default | Description |
|---|
first | dynamic | — | first value consumed by this operation. |
second | dynamic | — | second value consumed by this operation. |
View source
# length
function length(value)
Performs the length operation for the miniquake2 renderer classic vector module.
| Parameter | Type | Default | Description |
|---|
value | dynamic | — | Value consumed or transformed by the operation. |
View source
# multiplyAdd
inline function multiplyAdd(value, amount, direction)
Performs the multiplyAdd operation for the miniquake2 renderer classic vector module.
| Parameter | Type | Default | Description |
|---|
value | dynamic | — | Value consumed or transformed by the operation. |
amount | dynamic | — | amount value consumed by this operation. |
direction | dynamic | — | direction value consumed by this operation. |
View source
# scale
inline function scale(value, amount)
Performs the scale operation for the miniquake2 renderer classic vector module.
| Parameter | Type | Default | Description |
|---|
value | dynamic | — | Value consumed or transformed by the operation. |
amount | dynamic | — | amount value consumed by this operation. |
View source
# subtract
inline function subtract(first, second)
Performs the subtract operation for the miniquake2 renderer classic vector module.
| Parameter | Type | Default | Description |
|---|
first | dynamic | — | first value consumed by this operation. |
second | dynamic | — | second value consumed by this operation. |
View source