Reference mat4x4()

mat4x4()

This API is experimental

Its behavior may change in a future version of p5.js.

A GLSL-style name for mat4().

Note: mat4x4() can only be used inside a p5.strands shader callback.

Examples

Syntax

mat4x4(values1, values2, ..., valuesn)

Parameters

values1, ..., valuesn
Number: the same values accepted by mat4().

Returns

a 4x4 matrix.

Related References