此 API 是实验性的
其行为可能在 p5.js 的未来版本中发生变化。
A GLSL-style name for mat2().
Note: mat2x2() can only be used inside a p5.strands shader callback.
示例
语法
mat2x2(values1, values2, ..., valuesn)
参数
values1, ..., valuesn
Number: the same values accepted by mat2().
返回值
a 2x2 matrix.
Notice any errors or typos? Please let us know. Please feel free to edit src/strands/strands_transform.js and open a pull request!