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

Function GetPosition

Source/ThirdParty/MikkTSpace/mikktspace.cpp:883–891  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

881}
882
883static SVec3 GetPosition(const SMikkTSpaceContext * pContext, const int index)
884{
885 int iF, iI;
886 SVec3 res; float pos[3];
887 IndexToData(&iF, &iI, index);
888 pContext->m_pInterface->m_getPosition(pContext, pos, iF, iI);
889 res.x=pos[0]; res.y=pos[1]; res.z=pos[2];
890 return res;
891}
892
893static SVec3 GetNormal(const SMikkTSpaceContext * pContext, const int index)
894{

Callers 9

genTangSpaceFunction · 0.70
MergeVertsFastFunction · 0.70
MergeVertsSlowFunction · 0.70
InitTriInfoFunction · 0.70
EvalTspaceFunction · 0.70
DegenEpilogueFunction · 0.70

Calls 1

IndexToDataFunction · 0.85

Tested by

no test coverage detected