Skip to content
Snippets Groups Projects
Commit 1455267c authored by RealBadAngel's avatar RealBadAngel
Browse files

Bugfix: variable type mismatch

parent 0a90feda
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ float find_intersection(vec2 dp, vec2 ds) ...@@ -66,7 +66,7 @@ float find_intersection(vec2 dp, vec2 ds)
} }
float find_intersectionRGB(vec2 dp, vec2 ds) { float find_intersectionRGB(vec2 dp, vec2 ds) {
const float iterations = 24; const float iterations = 24.0;
const float depth_step = 1.0 / iterations; const float depth_step = 1.0 / iterations;
float depth = 1.0; float depth = 1.0;
for (int i = 0 ; i < iterations ; i++) { for (int i = 0 ; i < iterations ; i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment