mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
parent
bef3390f36
commit
e5360e164a
12 changed files with 36 additions and 16 deletions
|
@ -327,7 +327,7 @@ fn intersect(r Ray, spheres &Sphere, nspheres int) (bool, f64, int) {
|
|||
id = i
|
||||
}
|
||||
}
|
||||
return (t < inf), t, id
|
||||
return t < inf, t, id
|
||||
}
|
||||
|
||||
// some casual random function, try to avoid the 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue