Vector.size() S32 or U32?
by Adam Johnston · in Torque Game Builder · 04/25/2006 (9:22 am) · 1 replies
Right now:
storage a huge number of elements.
Any comments out there?
template<class T> inline S32 Vector<T>::size() const
{
return (S32)mElementCount;
}but:U32 mElementCount;I'm thinking if the cast U32 -> S32 is not dangerous if the vector is going to
storage a huge number of elements.
Any comments out there?
Associate Tom Spilman
Sickhead Games