Documentation ¶
Index ¶
- type Vector2D
- func (v *Vector2D) Add(v2 Vector2D)
- func (v Vector2D) Distance(v2 Vector2D) float64
- func (v *Vector2D) Divide(z float64)
- func (v *Vector2D) Limit(max float64)
- func (v *Vector2D) MagnitudeSquared() float64
- func (v *Vector2D) Multiply(z float64)
- func (v *Vector2D) Normalize()
- func (v *Vector2D) SetMagnitude(z float64)
- func (v *Vector2D) Subtract(v2 Vector2D)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.