diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-16 10:55:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-16 10:55:45 +0400 |
commit | 2d8c1e60e695df3f001f0181bea845a356e14b47 (patch) | |
tree | 6ab9083b8d5f409ed476fb6862faf03f35493794 /intern | |
parent | 4ca88c99be18651cc96c549afde8dc190120b052 (diff) |
print an error message if Python.h can't be found for cmake and scons since its such a common problem.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/mikktspace/mikktspace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/mikktspace/mikktspace.c b/intern/mikktspace/mikktspace.c index c05ada84773..1bb73553012 100644 --- a/intern/mikktspace/mikktspace.c +++ b/intern/mikktspace/mikktspace.c @@ -243,7 +243,7 @@ tbool genTangSpace(const SMikkTSpaceContext * pContext, const float fAngularThre int iNrActiveGroups = 0, index = 0; const int iNrFaces = pContext->m_pInterface->m_getNumFaces(pContext); tbool bRes = TFALSE; - const float fThresCos = (const float) cos((fAngularThreshold*(float)M_PI)/180.0f); + const float fThresCos = (float) cos((fAngularThreshold*(float)M_PI)/180.0f); // verify all call-backs have been set if( pContext->m_pInterface->m_getNumFaces==NULL || @@ -1411,7 +1411,7 @@ STSpace EvalTspace(int face_indices[], const int iFaces, const int piTriListIn[] // weight contribution by the angle // between the two edge vectors fCos = vdot(v1,v2); fCos=fCos>1?1:(fCos<(-1) ? (-1) : fCos); - fAngle = (const float) acos(fCos); + fAngle = (float) acos(fCos); fMagS = pTriInfos[f].fMagS; fMagT = pTriInfos[f].fMagT; |