mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Bugfix: variable type mismatch
This commit is contained in:
parent
0a90fedabc
commit
1455267c9e
1 changed files with 1 additions and 1 deletions
|
@ -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++) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue