Fixed compilation with MSVC++.

This commit is contained in:
spartanj
2010-09-08 05:30:59 -03:00
parent f7f7fdcebd
commit c4a1a36892
77 changed files with 3204 additions and 2698 deletions

View File

@@ -101,11 +101,11 @@ Uint32 * cVertexBuffer::GetIndices() {
}
Uint32 cVertexBuffer::GetVertexCount() {
return mVertexArray[ VERTEX_FLAG_POSITION ].size() / eeVertexElements[ VERTEX_FLAG_POSITION ];
return (Uint32)mVertexArray[ VERTEX_FLAG_POSITION ].size() / eeVertexElements[ VERTEX_FLAG_POSITION ];
}
Uint32 cVertexBuffer::GetIndexCount() {
return mIndexArray.size();
return (Uint32)mIndexArray.size();
}
eeVector2f cVertexBuffer::GetVector2( const Uint32& Type, const Uint32& Index ) {