From Pavel Moloshtan, Byte2,3,4 and Short2,3,4 classes and their Array counterparts.

With a few build tweaks and bug fixes by Robert Osfield.
This commit is contained in:
Robert Osfield
2005-07-05 15:57:53 +00:00
parent ba5f3ce99a
commit facb0e2638
27 changed files with 1571 additions and 154 deletions

View File

@@ -30,11 +30,19 @@ static char* s_ArrayNames[] =
"Vec2Array", // 9
"Vec3Array", // 10
"Vec4Array", // 11
"Short2Array", // 12
"Short3Array", // 13
"Short4Array", // 14
"Byte2Array", // 15
"Byte3Array", // 16
"Byte4Array", // 17
};
const char* Array::className() const
{
if (_arrayType>=ArrayType && _arrayType<=Vec4ArrayType)
if (_arrayType>=ArrayType && _arrayType<=Byte4ArrayType)
return s_ArrayNames[_arrayType];
else
return "UnkownArray";