summaryrefslogtreecommitdiffstats
path: root/libdimension/sphere.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-10-19 13:59:24 -0400
committerTavian Barnes <tavianator@gmail.com>2011-10-30 18:11:22 -0400
commit8e3a7158ecae541692826e7b5998c8ffc810173a (patch)
treebeda4f9f8604f77d0513d5fb02b7ddf53d203d09 /libdimension/sphere.c
parente9810a7b1aae15320e58371b657a2f963562834d (diff)
downloaddimension-8e3a7158ecae541692826e7b5998c8ffc810173a.tar.xz
Make API more consistent.
Object methods should be dmnsn_<object>_<fn>().
Diffstat (limited to 'libdimension/sphere.c')
-rw-r--r--libdimension/sphere.c2
1 files changed, 1 insertions, 1 deletions
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 {