Versions in this module Expand all Collapse all v0 v0.3.8 Jan 24, 2025 v0.3.7 Dec 10, 2024 v0.3.6 Dec 9, 2024 v0.3.5 Oct 19, 2024 v0.3.4 Sep 30, 2024 v0.3.3 Sep 9, 2024 v0.3.2 Aug 17, 2024 v0.3.1 Aug 2, 2024 v0.3.0 Jul 24, 2024 v0.2.3 Jul 16, 2024 v0.2.2 Jul 14, 2024 v0.2.1 Jul 14, 2024 v0.2.0 Jun 20, 2024 v0.1.4 Jun 1, 2024 v0.1.3 May 5, 2024 Changes in this version + type Vector2i struct + X int + Y int + func Vec2i(x, y int) Vector2i + func Vector2iFromVector2Ceil(v math32.Vector2) Vector2i + func Vector2iFromVector2Floor(v math32.Vector2) Vector2i + func Vector2iFromVector2Round(v math32.Vector2) Vector2i + func Vector2iScalar(scalar int) Vector2i + func (v *Vector2i) Clamp(min, max Vector2i) + func (v *Vector2i) FromSlice(array []int, offset int) + func (v *Vector2i) Set(x, y int) + func (v *Vector2i) SetAdd(other Vector2i) + func (v *Vector2i) SetAddScalar(s int) + func (v *Vector2i) SetDim(dim math32.Dims, value int) + func (v *Vector2i) SetDiv(other Vector2i) + func (v *Vector2i) SetDivScalar(scalar int) + func (v *Vector2i) SetMax(other Vector2i) + func (v *Vector2i) SetMin(other Vector2i) + func (v *Vector2i) SetMul(other Vector2i) + func (v *Vector2i) SetMulScalar(s int) + func (v *Vector2i) SetScalar(scalar int) + func (v *Vector2i) SetSub(other Vector2i) + func (v *Vector2i) SetSubScalar(s int) + func (v *Vector2i) SetZero() + func (v Vector2i) Add(other Vector2i) Vector2i + func (v Vector2i) AddScalar(s int) Vector2i + func (v Vector2i) Dim(dim math32.Dims) int + func (v Vector2i) Div(other Vector2i) Vector2i + func (v Vector2i) DivScalar(scalar int) Vector2i + func (v Vector2i) Max(other Vector2i) Vector2i + func (v Vector2i) Min(other Vector2i) Vector2i + func (v Vector2i) Mul(other Vector2i) Vector2i + func (v Vector2i) MulScalar(s int) Vector2i + func (v Vector2i) Negate() Vector2i + func (v Vector2i) Sub(other Vector2i) Vector2i + func (v Vector2i) SubScalar(s int) Vector2i + func (v Vector2i) ToSlice(array []int, offset int) + func (v Vector2i) ToVector2() math32.Vector2