From 8327929451983c2c8e999692d7fbf9221e78d365 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 9 Apr 2009 13:10:42 +0100 Subject: Remove watchpoints --- src/reflections.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/reflections.c') diff --git a/src/reflections.c b/src/reflections.c index ce5f7a9..3eed317 100644 --- a/src/reflections.c +++ b/src/reflections.c @@ -91,7 +91,6 @@ void reflectionlist_free(ReflectionList *reflectionlist) { Reflection *reflection_add(ReflectionList *reflectionlist, double x, double y, double z, double intensity, ReflectionType type) { Reflection *new_reflection; - Reflection *nearest; if ( reflectionlist->list_capped ) return NULL; @@ -101,11 +100,6 @@ Reflection *reflection_add(ReflectionList *reflectionlist, double x, double y, d reflectionlist->list_capped = 1; } -// nearest = reflectionlist_find_nearest_type(reflectionlist, x, y, z, type); -// if ( nearest && distance3d(x, y, z, nearest->x, nearest->y, nearest->z) < 0.1e9 ) { -// printf("Too close\n"); -// return NULL; -//} new_reflection = malloc(sizeof(Reflection)); new_reflection->next = NULL; new_reflection->x = x; -- cgit v1.2.3