method
Vector.y
Vector.y(v) -> fixed
Returns the y component of v as a fixed. The companion of Vector.x.
Example
program Demo {
handler Step phase Update {
let py = Vector.y(pos)
}
}Vector.y(v) -> fixed
Returns the y component of v as a fixed. The companion of Vector.x.
program Demo {
handler Step phase Update {
let py = Vector.y(pos)
}
}