mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
This commit is contained in:
parent
c004d0c899
commit
acf6b344f7
99 changed files with 681 additions and 655 deletions
|
@ -53,7 +53,7 @@ pub fn new_rocket() Rocket {
|
|||
pos: Vector{
|
||||
x: rand.f32_in_range(50, get_params().width - 50) or { 50 }
|
||||
}
|
||||
vel: Vector{
|
||||
vel: Vector{
|
||||
x: rand.f32_in_range(-1.5, 1.5) or { -1.5 }
|
||||
y: rand.f32_in_range(5, 7) or { 5 }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue