diff options
author | Julian T <julian@jtle.dk> | 2020-03-09 18:34:24 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-03-09 18:34:24 +0100 |
commit | c94c3930af8c81568be50bdfaaac321b99e296d7 (patch) | |
tree | f776896e941b64076bdd067829a6ca9323cc67f7 /viewpoint.c | |
parent | 7837a28251bc3b326423ba40ccac0c8ffe23f968 (diff) |
Colors are floats now
Diffstat (limited to 'viewpoint.c')
-rw-r--r-- | viewpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |