| 881 | } |
| 882 | |
| 883 | static 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 | |
| 893 | static SVec3 GetNormal(const SMikkTSpaceContext * pContext, const int index) |
| 894 | { |
no test coverage detected