Merge remote-tracking branch 'origin/master'

This commit is contained in:
yvt 2015-01-24 12:45:16 +09:00
commit f75d9083ec

View File

@ -59,8 +59,8 @@ namespace spades {
bool CheckVisibility(const AABB3 &box) {
if (!clipBox.Contains(box) ||
!isfinite(box.min.x) || !isfinite(box.min.y) || !isfinite(box.min.z) ||
!isfinite(box.max.x) || !isfinite(box.max.y) || !isfinite(box.max.z)) {
!std::isfinite(box.min.x) || !std::isfinite(box.min.y) || !std::isfinite(box.min.z) ||
!std::isfinite(box.max.x) || !std::isfinite(box.max.y) || !std::isfinite(box.max.z)) {
OnProhibitedAction();
return false;
}