DARWIN -> __MACOSX__

This commit is contained in:
Steve Checkoway
2005-06-21 08:56:36 +00:00
parent 1795ac93c1
commit 99387583f9
19 changed files with 31 additions and 34 deletions
+3 -3
View File
@@ -13,7 +13,7 @@
#include "arch/Dialog/Dialog.h"
#include <float.h>
#if defined(DARWIN)
#if defined(__MACOSX__)
# include <vecLib/vBLAS.h>
#endif
@@ -81,7 +81,7 @@ void RageVec3TransformNormal( RageVector3* pOut, const RageVector3* pV, const Ra
void RageVec4TransformCoord( RageVector4* pOut, const RageVector4* pV, const RageMatrix* pM )
{
#if defined(DARWIN)
#if defined(__MACOSX__)
// (M^t * v)^t = v^t * M
cblas_sgemv(CblasRowMajor, CblasTrans, 4, 4, 1, &pM->m00, 4, &pV->x, 1,
0, &pOut->x, 1);
@@ -126,7 +126,7 @@ RageMatrix RageMatrix::GetTranspose() const
void RageMatrixMultiply( RageMatrix* pOut, const RageMatrix* pA, const RageMatrix* pB )
{
#if defined(DARWIN)
#if defined(__MACOSX__)
cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans, 4, 4, 4, 1,
&pB->m00, 4, &pA->m00, 4, 0, &pOut->m00, 4);
#else