method
Vector.make
Vector.make(x, y) -> Vector
Builds a Vector from its x and y components (both fixed). This is the usual way to make a position or a velocity; read the parts back with Vector.x and Vector.y.
Example
program Demo {
handler Step phase Update {
let pos = Vector.make(64.0, 32.0)
}
}