lower engine requirements back to c++17 standards, not c++20.

This commit is contained in:
AzaezelX 2023-10-15 15:19:41 -05:00 committed by Brian Roberts
parent e6ead9f268
commit 3bdce1f33e
2 changed files with 4 additions and 6 deletions

View file

@ -80,14 +80,14 @@ struct SceneBinRange
inline bool operator==(const SceneBinRange& other) const
{
return dMemcmp(minCoord, other.minCoord, sizeof(minCoord)) == 0 &&
dMemcmp(maxCoord, other.maxCoord, sizeof(maxCoord)) == 0;
return memcmp(minCoord, other.minCoord, sizeof(minCoord)) == 0 &&
memcmp(maxCoord, other.maxCoord, sizeof(maxCoord)) == 0;
}
inline bool operator!=(const SceneBinRange& other) const
{
if (dMemcmp(minCoord, other.minCoord, sizeof(minCoord)) == 0 &&
dMemcmp(maxCoord, other.maxCoord, sizeof(maxCoord)) == 0)
if (memcmp(minCoord, other.minCoord, sizeof(minCoord)) == 0 &&
memcmp(maxCoord, other.maxCoord, sizeof(maxCoord)) == 0)
return false;
else
return true;