DarkBASIC Professional Help File

DX11 GET MATRIX ELEMENT

Gets a single element of a matrix by its row / column.

Syntax

    Return Float = DX11 GET MATRIX ELEMENT(matrix, row, column)

Parameters

    matrix

> Dword
> The matrix to get the element of.

    row

> Dword
> The row of the element to get (valid range [0..3], anything else will cause this function to return 0.0).

    column

> Dword
> The column of the element to get (valid range [0..3], anything else will cause this function to return 0.0).

Returns

The value of the given matrix element.

See also

MATH Functions Menu
DX11 Function Categories