From c94c3930af8c81568be50bdfaaac321b99e296d7 Mon Sep 17 00:00:00 2001 From: Julian T Date: Mon, 9 Mar 2020 18:34:24 +0100 Subject: Colors are floats now --- viewpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'viewpoint.c') diff --git a/viewpoint.c b/viewpoint.c index 7786c12..e8d2a1e 100644 --- a/viewpoint.c +++ b/viewpoint.c @@ -47,7 +47,7 @@ void viewpoint_init(viewpoint_t *view) // Calculate ray for viewport w, h // https://en.wikipedia.org/wiki/Ray_tracing_(graphics) -void viewpoint_ray(viewpoint_t *view, vector_t *r, unsigned x, unsigned y) +void viewpoint_ray(viewpoint_t *view, vector_t *r, COORD_T x, COORD_T y) { // Calculate ray vector vector_copy(r, &view->blc); -- cgit v1.2.3