mirror of
https://github.com/bkaradzic/bx.git
synced 2026-10-22 08:41:00 +00:00
Fixed warnings. (#401)
This commit is contained in:
committed by
GitHub
parent
771ce6a8e8
commit
64dcc737a0
@@ -2045,7 +2045,12 @@ namespace bx
|
||||
return true;
|
||||
}
|
||||
|
||||
const Vec3 pos = closestPoint(plane, hit.pos);
|
||||
const Vec3 nearest = abs(distance(plane, line.pos) ) <= abs(distance(plane, line.end) )
|
||||
? line.pos
|
||||
: line.end
|
||||
;
|
||||
|
||||
const Vec3 pos = closestPoint(plane, nearest);
|
||||
const Vec3 uvw = barycentric(_triangle, pos);
|
||||
|
||||
const float nr = -_ty.radius;
|
||||
|
||||
@@ -372,6 +372,8 @@ namespace bx
|
||||
#else
|
||||
_Exit(_exitCode);
|
||||
#endif // BX_PLATFORM_*
|
||||
|
||||
BX_UNREACHABLE;
|
||||
}
|
||||
|
||||
namespace
|
||||
|
||||
Reference in New Issue
Block a user