method
IVec2.y
IVec2.y(v) -> int
Reads the y (row) component of an IVec2 as a plain int.
Example
program Demo {
handler Step phase Update {
let row = IVec2.y(IVec2.make(4, 7))
}
}IVec2.y(v) -> int
Reads the y (row) component of an IVec2 as a plain int.
program Demo {
handler Step phase Update {
let row = IVec2.y(IVec2.make(4, 7))
}
}