Mac OS X 10.6 & More C++03 Support (#68)

* Mac OS X 10.6 & More C++03 Support

* Fix SDL2 options.txt loading for C++03

---------

Co-authored-by: Brent Da Mage <BrentDaMage@users.noreply.github.com>
This commit is contained in:
Brent
2023-08-27 03:46:15 -05:00
committed by GitHub
parent 0c38c01c28
commit f7915a1dab
57 changed files with 1736 additions and 1534 deletions

View File

@@ -12,14 +12,16 @@ AABB::AABB()
{
}
AABB::AABB(Vec3 _min, Vec3 _max) :
min(_min), max(_max)
AABB::AABB(Vec3 _min, Vec3 _max)
{
min = _min;
max = _max;
}
AABB::AABB(float minX, float minY, float minZ, float maxX, float maxY, float maxZ) :
min(minX, minY, minZ), max(maxX, maxY, maxZ)
AABB::AABB(float minX, float minY, float minZ, float maxX, float maxY, float maxZ)
{
min = Vec3(minX, minY, minZ);
max = Vec3(maxX, maxY, maxZ);
}
HitResult AABB::clip(const Vec3& vec1, const Vec3& vec2)