diff options
Diffstat (limited to 'prelude')
| -rw-r--r-- | prelude/slang-cpp-types.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/prelude/slang-cpp-types.h b/prelude/slang-cpp-types.h index a7ecf5991..67db607f6 100644 --- a/prelude/slang-cpp-types.h +++ b/prelude/slang-cpp-types.h @@ -82,9 +82,6 @@ typedef Vector<uint32_t, 4> uint4; template <typename T, int ROWS, int COLS> struct Matrix { - Vector<T, COLS>& operator[](int i) { SLANG_PRELUDE_ASSERT(i >= 0 && i < ROWS); return rows[i]; } - const Vector<T, COLS>& operator[](int i) const { SLANG_PRELUDE_ASSERT(i >= 0 && i < ROWS); return rows[i]; } - Vector<T, COLS> rows[ROWS]; }; |
