| 891 | } |
| 892 | |
| 893 | static 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 | |
| 903 | static SVec3 GetTexCoord(const SMikkTSpaceContext * pContext, const int index) |
| 904 | { |
no test coverage detected