summaryrefslogtreecommitdiffstats
path: root/libdimension/sphere.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-06-13 22:55:48 +0000
committerTavian Barnes <tavianator@gmail.com>2009-06-13 22:55:48 +0000
commit836d8f7138633517c6e503520f7be354ac32d836 (patch)
tree9e6947fdabd51dd901a1f4106e2e16c989deffef /libdimension/sphere.c
parent042ef96e2c004a963451edc9efa7074316a360c4 (diff)
downloaddimension-836d8f7138633517c6e503520f7be354ac32d836.tar.xz
Properly forward-declare dmnsn_object and dmnsn_camera, and take a
transformation matrix in dmnsn_new_perspective_camera().
Diffstat (limited to 'libdimension/sphere.c')
-rw-r--r--libdimension/sphere.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/sphere.c b/libdimension/sphere.c
index 74f414d..2829720 100644
--- a/libdimension/sphere.c
+++ b/libdimension/sphere.c
@@ -22,9 +22,9 @@
#include <stdlib.h> /* For malloc */
#include <math.h> /* For sqrt */
-static dmnsn_array *dmnsn_sphere_intersections_fn(const dmnsn_sphere *sphere,
+static dmnsn_array *dmnsn_sphere_intersections_fn(const dmnsn_object *sphere,
dmnsn_line line);
-static int dmnsn_sphere_inside_fn(const dmnsn_sphere *sphere,
+static int dmnsn_sphere_inside_fn(const dmnsn_object *sphere,
dmnsn_vector point);
dmnsn_object *