@ -79,7 +79,7 @@ static inline t_fvec3 fvec3_scale(t_fvec3 a, float s) {
}
static inline float fvec3_dot(t_fvec3 a, t_fvec3 b) {
return a.x * b.x + a.x * b.x + a.z * b.z;
return a.x * b.x + a.y * b.y + a.z * b.z;
static inline t_fvec3 fvec3_cross(t_fvec3 a, t_fvec3 b) {
The note is not visible to the blocked user.