Fix nasty black patches

This commit is contained in:
Armin Friedl 2022-07-30 18:20:03 +02:00
parent 2b653789d8
commit 3323b6e292

View file

@ -75,7 +75,7 @@ inline vec3 operator+(const vec3 &u, const vec3 &v) {
} }
inline vec3 operator-(const vec3 &u, const vec3 &v) { inline vec3 operator-(const vec3 &u, const vec3 &v) {
return vec3(u.e[0] - v.e[0], u.e[1] - v.e[1], u.e[2] + v.e[2]); return vec3(u.e[0] - v.e[0], u.e[1] - v.e[1], u.e[2] - v.e[2]);
} }
inline vec3 operator*(const vec3 &u, const vec3 &v) { inline vec3 operator*(const vec3 &u, const vec3 &v) {