Documentation ¶
Index ¶
- func Abs(v xy.Vector2) xy.Vector2
- func Add(v, with xy.Vector2) xy.Vector2
- func Addf(v xy.Vector2, with float64) xy.Vector2
- func Angle(v xy.Vector2) xy.Radians
- func Aspect(v xy.Vector2) float64
- func Ceil(v xy.Vector2) xy.Vector2
- func Clamp(v xy.Vector2, min, max xy.Vector2) xy.Vector2
- func Cross(v, with xy.Vector2) float64
- func Distance(v, to xy.Vector2) float64
- func DistanceSquared(v, to xy.Vector2) float64
- func Div(v, with xy.Vector2) xy.Vector2
- func Divf(v xy.Vector2, with float64) xy.Vector2
- func Dot(v, with xy.Vector2) float64
- func Floor(v xy.Vector2) xy.Vector2
- func IsApproximatelyZero(v xy.Vector2) bool
- func IsFinite(v xy.Vector2) bool
- func IsNormalized(v xy.Vector2) bool
- func Length(v xy.Vector2) float64
- func LengthSquared(v xy.Vector2) float64
- func Lerp(from, to xy.Vector2, weight float64) xy.Vector2
- func Mul(v, with xy.Vector2) xy.Vector2
- func Mulf(v xy.Vector2, with float64) xy.Vector2
- func Neg(v xy.Vector2) xy.Vector2
- func New(x, y float64) xy.Vector2
- func Normalize(v xy.Vector2) xy.Vector2
- func Round(v xy.Vector2) xy.Vector2
- func Sign(v xy.Vector2) xy.Vector2
- func Sub(v, with xy.Vector2) xy.Vector2
- func Subf(v xy.Vector2, with float64) xy.Vector2
- func Transform(v xy.Vector2, by xy.Transform2D) xy.Vector2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DistanceSquared ¶
func IsApproximatelyZero ¶
func IsNormalized ¶
func LengthSquared ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.