参考 mat4x4()

mat4x4()

此 API 是实验性的

其行为可能在 p5.js 的未来版本中发生变化。

A GLSL-style name for mat4().

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

示例

语法

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

参数

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

返回值

a 4x4 matrix.

相关参考