(type: DynoType)
| 142 | } |
| 143 | |
| 144 | export function isMatFloatType(type: DynoType): boolean { |
| 145 | return ( |
| 146 | type === "mat2" || |
| 147 | type === "mat2x2" || |
| 148 | type === "mat2x3" || |
| 149 | type === "mat2x4" || |
| 150 | type === "mat3" || |
| 151 | type === "mat3x2" || |
| 152 | type === "mat3x3" || |
| 153 | type === "mat3x4" || |
| 154 | type === "mat4" || |
| 155 | type === "mat4x2" || |
| 156 | type === "mat4x3" || |
| 157 | type === "mat4x4" |
| 158 | ); |
| 159 | } |
| 160 | |
| 161 | export function isAllFloatType(type: DynoType): boolean { |
| 162 | return isFloatType(type) || isMatFloatType(type); |