From 8e3a7158ecae541692826e7b5998c8ffc810173a Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 19 Oct 2011 13:59:24 -0400 Subject: Make API more consistent. Object methods should be dmnsn__(). --- libdimension/sphere.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdimension/sphere.c') diff --git a/libdimension/sphere.c b/libdimension/sphere.c index 881da0c..a3f0c90 100644 --- a/libdimension/sphere.c +++ b/libdimension/sphere.c @@ -36,7 +36,7 @@ dmnsn_sphere_intersection_fn(const dmnsn_object *sphere, dmnsn_line l, poly[1] = 2.0*dmnsn_vector_dot(l.n, l.x0); poly[0] = dmnsn_vector_dot(l.x0, l.x0) - 1.0; - size_t n = dmnsn_solve_polynomial(poly, 2, x); + size_t n = dmnsn_polynomial_solve(poly, 2, x); if (n == 0) { return false; } else { -- cgit v1.2.3