Viewport controls

This commit is contained in:
Dynamitos
2022-11-17 16:47:42 +01:00
parent f635ee2100
commit 4ba0bf3b45
73 changed files with 627 additions and 449 deletions
+10
View File
@@ -705,6 +705,16 @@ public:
{
return _data;
}
template<typename I>
constexpr reference operator[](I index) noexcept
{
return operator[](static_cast<size_t>(index));
}
template<typename I>
constexpr const_reference operator[](I index) const noexcept
{
return operator[](static_cast<size_t>(index));
}
constexpr reference operator[](size_type index) noexcept
{
assert(index < N);
+1 -1
View File
@@ -1,5 +1,5 @@
target_sources(Engine
PUBLIC
PRIVATE
Array.h
Map.h
List.h)