mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 02:20:25 +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
|
||||
inline void MatrixMultiplyCP(Matrix12 &c,const Matrix12 &m, const Matrix12 &n)
|
||||
void MatrixMultiplyCP(Matrix12 &c,const Matrix12 &m, const Matrix12 &n)
|
||||
{
|
||||
Matrix12 mTemp;
|
||||
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
|
||||
return sa_Array[i];
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Get number of elements in array.
|
||||
*/
|
||||
|
@ -94,6 +92,7 @@ INDEX CStaticArray<Type>::Count(void) const {
|
|||
ASSERT(this!=NULL);
|
||||
return sa_Count;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Get index of a member from it's pointer
|
||||
|
|
|
@ -66,7 +66,8 @@ public:
|
|||
}
|
||||
|
||||
/* 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. */
|
||||
INDEX Index(Type *ptObject);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user