Update lazyvec / vec api as well as rect are mostly constexpr now

This commit is contained in:
2026-09-06 16:13:08 +02:00
parent d5998c317d
commit 17df854d99
10 changed files with 108 additions and 105 deletions
+3 -3
View File
@@ -30,11 +30,11 @@ SOFTWARE.
*/
constexpr std::string_view _generic_ops = R"text(
vec{0} operator-() const {{ return vec{0}({1}); }}
constexpr vec{0} operator-() const {{ return vec{0}({1}); }}
template <typename T1>
bool operator==(const vec{0}<T1>& v) const {{ return {2}; }}
constexpr bool operator==(const vec{0}<T1>& v) const {{ return {2}; }}
template <typename T1>
bool operator!=(const vec{0}<T1>& v) const {{ return !(*this == v); }}
constexpr bool operator!=(const vec{0}<T1>& v) const {{ return !(*this == v); }}
)text";
namespace LVec {