transpose
Function
Returns the transpose of a mat4.
The signature and the sentence under each name are the compiler's own text at commit 26de7be8.
Syntax
declare function transpose(m: mat2x2): mat2x2declare function transpose(m: mat2x3): mat3x2declare function transpose(m: mat2x4): mat4x2declare function transpose(m: mat3x2): mat2x3declare function transpose(m: mat3x3): mat3x3declare function transpose(m: mat3x4): mat4x3declare function transpose(m: mat4x2): mat2x4declare function transpose(m: mat4x3): mat3x4declare function transpose(m: mat4x4): mat4x4declare function transpose(m: mat2x2<f64>): mat2x2<f64>declare function transpose(m: mat3x3<f64>): mat3x3<f64>declare function transpose(m: mat4x4<f64>): mat4x4<f64>Parameters
Return value
mat2x2mat3x2mat4x2mat2x3mat3x3mat4x3mat2x4mat3x4mat4x4mat2x2<f64>mat3x3<f64>mat4x4<f64>
Description
Targets
- WGSL
-
transpose(a) - GLSL ES 3.00
-
transpose(a)