intdiv
constintdiv:DualFn<(lhs,rhs) =>number>
Defined in: packages/typegpu/src/std/numeric.ts:1303
Performs integer division on the passed in scalars.
Equivalent to trunc(trunc(lhs) / trunc(rhs)). Coerces both
arguments to integers if they’re floating point.
© Software Mansion 2026. All trademarks and copyrights belong to their respective owners. Read about our Privacy Policy.