aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2020-12-28 22:12:34 +0100
committerladevieq <ladevie.quentin@gmail.com>2020-12-28 22:12:34 +0100
commit5768c16bd01900d1eb34873a44d231011d0b744b (patch)
treea5a697addeabd0294abf973ddd1ed2eabf4897e0 /include
parentae5b71f64715468d62ed889788969697a24cd794 (diff)
First compute shader image
Diffstat (limited to 'include')
-rw-r--r--include/vec3.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vec3.hpp b/include/vec3.hpp
index 4bed1b0..faed334 100644
--- a/include/vec3.hpp
+++ b/include/vec3.hpp
@@ -34,7 +34,8 @@ class vec3 {
static vec3 random(double min, double max);
- double x, y, z;
+ float x, y, z;
+ float padding;
};
vec3 lerp(vec3 u, vec3 v, double t);