diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-10-19 13:59:24 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-10-30 18:11:22 -0400 |
commit | 8e3a7158ecae541692826e7b5998c8ffc810173a (patch) | |
tree | beda4f9f8604f77d0513d5fb02b7ddf53d203d09 /libdimension/sphere.c | |
parent | e9810a7b1aae15320e58371b657a2f963562834d (diff) | |
download | dimension-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.c | 2 |
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 { |