MCPcopy Create free account
hub / github.com/csyonghe/Spire / IsFloatVector

Method IsFloatVector

Source/SpireCore/IL.cpp:218–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216 }
217
218 bool ILType::IsFloatVector()
219 {
220 auto basicType = dynamic_cast<ILBasicType*>(this);
221 if (basicType)
222 return basicType->Type == ILBaseType::Float2 || basicType->Type == ILBaseType::Float3 || basicType->Type == ILBaseType::Float4 ||
223 basicType->Type == ILBaseType::Float3x3 || basicType->Type == ILBaseType::Float4x4;
224 else
225 return false;
226 }
227
228 bool ILType::IsFloatMatrix()
229 {

Callers 7

ConvertBasicTypeMethod · 0.80
PrintCallInstrMethod · 0.80
PrintUnaryInstrMethod · 0.80
PrintBinaryInstrMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected