ENABLE_SLOPE_RENDERING - Fixed fragment shader when the thresholds are identical

This commit is contained in:
enricoturri1966 2020-03-16 08:35:13 +01:00
parent ac4d9ea172
commit 5378b18f18
2 changed files with 7 additions and 6 deletions

View file

@ -29,7 +29,7 @@ struct PrintBoxDetection
struct SlopeDetection
{
bool active;
// x = yellow z, y = red z
// x = yellow, y = red
vec2 z_range;
mat3 volume_world_normal_matrix;
};