Skip to content
Permalink
Browse files

Fixed some stuff.

  • Loading branch information
Andrew Lawson Andrew Lawson
Andrew Lawson authored and Andrew Lawson committed Dec 8, 2014
1 parent 431ebad commit 11ce7a3f6645511eaa69ba05a6bd2b63b69337ef
Showing with 6 additions and 6 deletions.
  1. +6 −6 geometric_separators.pde
@@ -92,15 +92,15 @@ PVector radonTetra(ArrayList<PVector> points) {
RealMatrix d4Matrix = getDetMatrix(pointsCopy.get(0), pointsCopy.get(1), pointsCopy.get(2), testPoint;
// Compute determinants
ArrayList<double> detList = new ArrayList<double>();
double d0 = new SingularValueDecomposition(coefficients).getDeterminant(d0Matrix);
double d0 = new SingularValueDecomposition(d0Matrix).getDeterminant();
detList.add(d0);
double d1 = new SingularValueDecomposition(coefficients).getDeterminant(d1Matrix);
double d1 = new SingularValueDecomposition(d1Matrix).getDeterminant();
detList.add(d1);
double d2 = new SingularValueDecomposition(coefficients).getDeterminant(d2Matrix);
double d2 = new SingularValueDecomposition(d2Matrix).getDeterminant();
detList.add(d2);
double d3 = new SingularValueDecomposition(coefficients).getDeterminant(d3Matrix);
double d3 = new SingularValueDecomposition(d3Matrix).getDeterminant();
detList.add(d3);
double d4 = new SingularValueDecomposition(coefficients).getDeterminant(d4Matrix);
double d4 = new SingularValueDecomposition(d4Matrix).getDeterminant();
detList.add(d4);
// If the sign test passes
if (areSameSign(detList)) {
@@ -112,7 +112,7 @@ PVector radonTetra(ArrayList<PVector> points) {
}

// Tests if a ray intersects a triangle
void radonIntersect() {
void radonIntersect(ArrayList<PVector> points) {

}

0 comments on commit 11ce7a3

Please sign in to comment.
You can’t perform that action at this time.