mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
all: unwrap const() blocks
This commit is contained in:
parent
399af6768d
commit
f09826e928
436 changed files with 10448 additions and 11207 deletions
|
@ -9,12 +9,10 @@ struct Vector {
|
|||
z f64
|
||||
}
|
||||
|
||||
const (
|
||||
boids_count = 10000
|
||||
max_coordinate = 10000.0
|
||||
cohesion_distance = 10.0
|
||||
separation_distance = 5.0
|
||||
)
|
||||
const boids_count = 10000
|
||||
const max_coordinate = 10000.0
|
||||
const cohesion_distance = 10.0
|
||||
const separation_distance = 5.0
|
||||
|
||||
@[direct_array_access]
|
||||
fn main() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue