MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetNormal

Function GetNormal

Source/ThirdParty/MikkTSpace/mikktspace.cpp:893–901  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

891}
892
893static SVec3 GetNormal(const SMikkTSpaceContext * pContext, const int index)
894{
895 int iF, iI;
896 SVec3 res; float norm[3];
897 IndexToData(&iF, &iI, index);
898 pContext->m_pInterface->m_getNormal(pContext, norm, iF, iI);
899 res.x=norm[0]; res.y=norm[1]; res.z=norm[2];
900 return res;
901}
902
903static SVec3 GetTexCoord(const SMikkTSpaceContext * pContext, const int index)
904{

Callers 5

MergeVertsFastFunction · 0.70
MergeVertsSlowFunction · 0.70
GenerateTSpacesFunction · 0.70
EvalTspaceFunction · 0.70

Calls 1

IndexToDataFunction · 0.85

Tested by

no test coverage detected