aboutsummaryrefslogtreecommitdiffstats
path: root/shaders/include
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2026-09-03 21:05:50 +0200
committerladevieq <ladevie.quentin@gmail.com>2026-09-03 21:05:50 +0200
commitf060e63604520da0ba381bcbc86bee1cf48374be (patch)
tree6a53c52249586c0dfd86d9d81d1458e8d11d2589 /shaders/include
parent3b007938fb78bf42e5b3679ad1447a21b2c6ff45 (diff)
Interleave fields in the ray shader struct
Diffstat (limited to 'shaders/include')
-rw-r--r--shaders/include/ray.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shaders/include/ray.h b/shaders/include/ray.h
index 7a6cc21..6be711d 100644
--- a/shaders/include/ray.h
+++ b/shaders/include/ray.h
@@ -1,7 +1,7 @@
struct ray {
vec3 origin;
- vec3 direction;
float min_t;
+ vec3 direction;
float max_t;
};