레퍼런스 mat2x2()

mat2x2()

이 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.

관련 레퍼런스