MCPcopy Create free account
hub / github.com/beefytech/Beef / FBXIsValidMatrix

Function FBXIsValidMatrix

BeefySysLib/fbx/FBXReader.cpp:33–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32
33bool FBXIsValidMatrix(const FbxAMatrix& mat)
34{
35 // Check that scales aren't zero and quaternions don't have //1.#QNAN0 values
36 if (mat.GetQ()[0] != mat.GetQ()[0] ||
37 mat.GetS()[0] == 0)
38 {
39 return false;
40 }
41 return true;
42}
43
44FbxAMatrix FBXCorrectMatrix(const FbxAMatrix& mat)
45{

Callers 3

FBXCorrectMatrixFunction · 0.85
GetBindPoseMethod · 0.85
LoadBindPoseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected