diff options
author | rtk0c <[email protected]> | 2022-04-17 20:08:57 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-04-17 20:08:57 -0700 |
commit | 5424a1d5434e3ddd911a504719918c2df027e2fd (patch) | |
tree | 6275aab13140d81dcc46c8290e73ac9a8bbb5605 /source/PodVector.hpp | |
parent | afcac59c7d04f4337d6b04ebed8cac7e871ccc50 (diff) |
Changeset: 8 Initial work on sprites and texture system
Diffstat (limited to 'source/PodVector.hpp')
-rw-r--r-- | source/PodVector.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/PodVector.hpp b/source/PodVector.hpp index 8f0281b..74e99d6 100644 --- a/source/PodVector.hpp +++ b/source/PodVector.hpp @@ -95,6 +95,8 @@ public: T* end() { return mData + mSize; } const T* end() const { return mData + mSize; } + T* data() { return mData; } + T& front() { assert(mSize > 0); return mData[0]; |