summaryrefslogtreecommitdiffstats
path: root/libdimension/sphere.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-08-14 17:39:16 -0600
committerTavian Barnes <tavianator@gmail.com>2010-08-14 17:39:16 -0600
commitea6ea322433b583df411d4a5643115e5cff7ebd5 (patch)
tree3a9729b35bc9785297ad302131490e1ca32f63ac /libdimension/sphere.c
parentdade1a033957df08777904cfbc33884f1bab9aab (diff)
downloaddimension-ea6ea322433b583df411d4a5643115e5cff7ebd5.tar.xz
Add cylinders to libdimension.
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 a3ecf2d..98be4b5 100644
--- a/libdimension/sphere.c
+++ b/libdimension/sphere.c
@@ -51,7 +51,7 @@ dmnsn_sphere_intersection_fn(const dmnsn_object *sphere, dmnsn_line line,
dmnsn_intersection *intersection)
{
dmnsn_line l = dmnsn_transform_line(sphere->trans_inv, line);
-
+
/* Solve (x0 + nx*t)^2 + (y0 + ny*t)^2 + (z0 + nz*t)^2 == 1 */
double a, b, c, t;
a = dmnsn_vector_dot(l.n, l.n);