From 836d8f7138633517c6e503520f7be354ac32d836 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 13 Jun 2009 22:55:48 +0000 Subject: Properly forward-declare dmnsn_object and dmnsn_camera, and take a transformation matrix in dmnsn_new_perspective_camera(). --- libdimension/sphere.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdimension/sphere.c') 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 /* For malloc */ #include /* 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 * -- cgit v1.2.3