From 11ce7a3f6645511eaa69ba05a6bd2b63b69337ef Mon Sep 17 00:00:00 2001 From: Andrew Lawson Date: Mon, 8 Dec 2014 01:27:22 -0500 Subject: [PATCH] Fixed some stuff. --- geometric_separators.pde | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/geometric_separators.pde b/geometric_separators.pde index 7dd3c01..65c760d 100644 --- a/geometric_separators.pde +++ b/geometric_separators.pde @@ -92,15 +92,15 @@ PVector radonTetra(ArrayList points) { RealMatrix d4Matrix = getDetMatrix(pointsCopy.get(0), pointsCopy.get(1), pointsCopy.get(2), testPoint; // Compute determinants ArrayList detList = new ArrayList(); - 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 points) { } // Tests if a ray intersects a triangle -void radonIntersect() { +void radonIntersect(ArrayList points) { }