fixed bug in shapes/Plane which would return negative results, fixed bug in main/Scene which would not check for shape to be non-null after calling getRayClosestHit()
git-svn-id: svn://anubis/fart/trunk@161 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
1 parent
c78e5941c8
commit
9ef826df43
4 files changed
+50
-44
No files matched your search
+5
-4
@@ -16,6 +16,11 @@ Solver::~Solver()
|
||||
{
|
||||
}
|
||||
|
||||
Solver::Result::Result()
|
||||
{
|
||||
numResults = 0;
|
||||
}
|
||||
|
||||
|
||||
/**************************************************************************
|
||||
* LinearSolver methods *
|
||||
@@ -120,7 +125,3 @@ Solver::Result QuarticSolver::solve()
|
||||
return res;
|
||||
}
|
||||
|
||||
Solver::Result::Result()
|
||||
{
|
||||
numResults = 0;
|
||||
}
|
||||
Reference in new issue
Block a user