Use mingw-std-threads in MinGW builds
This commit is contained in:
parent
ad72de5083
commit
fe4850c0d0
29 changed files with 2342 additions and 28 deletions
|
|
@ -117,6 +117,11 @@ AABB AABB::intersection(const AABB &p_aabb) const {
|
|||
return AABB(min, max - min);
|
||||
}
|
||||
|
||||
#ifdef MINGW_ENABLED
|
||||
#undef near
|
||||
#undef far
|
||||
#endif
|
||||
|
||||
bool AABB::intersects_ray(const Vector3 &p_from, const Vector3 &p_dir, Vector3 *r_clip, Vector3 *r_normal) const {
|
||||
#ifdef MATH_CHECKS
|
||||
if (unlikely(size.x < 0 || size.y < 0 || size.z < 0)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue