mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-26 04:05:53 +01:00
Deal with other things that are optimizing out instead of linking properly.
This commit is contained in:
parent
7c9d29ad1a
commit
887bc474e0
|
@ -195,7 +195,7 @@ inline void MatrixMultiply(Matrix12 &c,const Matrix12 &m, const Matrix12 &n)
|
||||||
}
|
}
|
||||||
|
|
||||||
// multiply two matrices into first one
|
// multiply two matrices into first one
|
||||||
inline void MatrixMultiplyCP(Matrix12 &c,const Matrix12 &m, const Matrix12 &n)
|
void MatrixMultiplyCP(Matrix12 &c,const Matrix12 &m, const Matrix12 &n)
|
||||||
{
|
{
|
||||||
Matrix12 mTemp;
|
Matrix12 mTemp;
|
||||||
MatrixMultiply(mTemp,m,n);
|
MatrixMultiply(mTemp,m,n);
|
||||||
|
|
|
@ -84,8 +84,6 @@ inline const Type &CStaticArray<Type>::operator[](INDEX i) const {
|
||||||
ASSERT(i>=0 && i<sa_Count); // check bounds
|
ASSERT(i>=0 && i<sa_Count); // check bounds
|
||||||
return sa_Array[i];
|
return sa_Array[i];
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Get number of elements in array.
|
* Get number of elements in array.
|
||||||
*/
|
*/
|
||||||
|
@ -94,6 +92,7 @@ INDEX CStaticArray<Type>::Count(void) const {
|
||||||
ASSERT(this!=NULL);
|
ASSERT(this!=NULL);
|
||||||
return sa_Count;
|
return sa_Count;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Get index of a member from it's pointer
|
* Get index of a member from it's pointer
|
||||||
|
|
|
@ -66,7 +66,8 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get number of objects in array. */
|
/* Get number of objects in array. */
|
||||||
INDEX Count(void) const;
|
inline INDEX Count(void) const { return sa_Count; }
|
||||||
|
|
||||||
/* Get index of a object from it's pointer. */
|
/* Get index of a object from it's pointer. */
|
||||||
INDEX Index(Type *ptObject);
|
INDEX Index(Type *ptObject);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user