updated Makefile to use -O1 in CXXFLAGS instead of -O3; -O2 and above currently break the app

git-svn-id: svn://anubis/fart/trunk@61 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop committed 2009-01-28 18:51:14 +00:00
1 parent ca3087eac5
commit a52b456bfa
3 files changed
+3 -5

No files matched your search

+1 -2
View File
@@ -196,8 +196,7 @@ vector<Scene::ShapeDistance> Scene::getRayHits(const Ray & ray)
{
minSolidDist = intersect_dist;
}
if (minSolidDist == 0.0
|| minSolidDist >= intersect_dist)
if (minSolidDist == 0.0 || minSolidDist >= intersect_dist)
{
hits.push_back(ShapeDistance(*it, intersect_dist));
}