Migrate ui scale/translation transform matrix stacks to LLAlignedArray.

This commit is contained in:
Shyotl
2013-10-26 16:29:38 -05:00
parent 8441bc80a4
commit f4863527aa
4 changed files with 20 additions and 32 deletions

View File

@@ -41,7 +41,11 @@ public:
~LLAlignedArray();
void push_back(const T& elem);
U32 size() const { return mElementCount; }
void pop_back() { if(!!mElementCount) --mElementCount; }
bool empty() const { return !mElementCount; }
T& front() { return operator[](0); }
T& back() { return operator[](mElementCount-1); }
U32 size() const { return mElementCount; }
void resize(U32 size);
T* append(S32 N);
T& operator[](int idx);