mirror of
https://github.com/vlang/v.git
synced 2025-09-16 07:52:32 +03:00
examples: fix typos (#18229)
This commit is contained in:
parent
caee3935a5
commit
993546a0a2
28 changed files with 89 additions and 89 deletions
|
@ -161,7 +161,7 @@ fn (sp Sphere) intersect(r Ray) f64 {
|
|||
* 0) Cornell Box with 2 spheres
|
||||
* 1) Sunset
|
||||
* 2) Psychedelic
|
||||
* The sphere fileds are: Sphere{radius, position, emission, color, material}
|
||||
* The sphere fields are: Sphere{radius, position, emission, color, material}
|
||||
******************************************************************************/
|
||||
const (
|
||||
cen = Vec{50, 40.8, -860} // used by scene 1
|
||||
|
@ -361,7 +361,7 @@ fn rand_f64() f64 {
|
|||
}
|
||||
|
||||
const (
|
||||
cache_len = 65536 // the 2*pi angle will be splitted in 65536 part
|
||||
cache_len = 65536 // the 2*pi angle will be split in 2^16 parts
|
||||
cache_mask = cache_len - 1 // mask to speed-up the module process
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue