Refactor material system (#382)

This commit is contained in:
Jérôme Leclercq
2022-10-31 19:53:41 +01:00
committed by GitHub
parent 0a8048809c
commit dc6ce8427c
156 changed files with 3633 additions and 4569 deletions

View File

@@ -13,7 +13,7 @@ namespace Nz
inline bool EndsWith(const std::string_view& str, const std::string_view& s)
{
//FIXME: Replace with proper C++20 value once it's available
#if __cplusplus > 201703L
#if NAZARA_CPP_VER > 201703L
// C++20
return str.ends_with(s);
#else
@@ -53,7 +53,7 @@ namespace Nz
inline bool StartsWith(const std::string_view& str, const std::string_view& s)
{
//FIXME: Replace with proper C++20 value once it's available
#if __cplusplus > 201703L
#if NAZARA_CPP_VER > 201703L
// C++20
return str.starts_with(s);
#else