MCPcopy
hub / github.com/sparkjsdev/spark / isMatFloatType

Function isMatFloatType

src/dyno/types.ts:144–159  ·  view source on GitHub ↗
(type: DynoType)

Source from the content-addressed store, hash-verified

142}
143
144export 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
161export function isAllFloatType(type: DynoType): boolean {
162 return isFloatType(type) || isMatFloatType(type);

Callers 1

isAllFloatTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected