package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: May 6, 2026
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package v2i provides a 2D integer vector type with method-chainable arithmetic.
Vec is a 2D integer vector with X, Y int components.
XY returns Vec{X: x, Y: y}.
AddScalar adds b to each component.
Raw returns the underlying sdfx v2i.Vec.
SubScalar subtracts b from each component.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.