method
IVec2.zero
IVec2.zero() -> IVec2
Returns the origin (0, 0) — a handy neutral value to start an accumulation or mark an unset cell.
Example
program Demo {
handler Step phase Update {
let origin = IVec2.zero()
}
}IVec2.zero() -> IVec2
Returns the origin (0, 0) — a handy neutral value to start an accumulation or mark an unset cell.
program Demo {
handler Step phase Update {
let origin = IVec2.zero()
}
}