Documentation
¶
Index ¶
- type Angle
- type Rectangle
- type Vec2
- func (v Vec2) Add(u Vec2) Vec2
- func (v Vec2) Angle() Angle
- func (v Vec2) Cross(u Vec2) float64
- func (v Vec2) Distance(u Vec2) float64
- func (v Vec2) Div(k float64) Vec2
- func (v Vec2) Dot(u Vec2) float64
- func (v Vec2) Length() float64
- func (v Vec2) Mul(k float64) Vec2
- func (v Vec2) Normalize() Vec2
- func (v Vec2) Rotate(angle Angle) Vec2
- func (v Vec2) Round() image.Point
- func (v Vec2) String() string
- func (v Vec2) Sub(u Vec2) Vec2
- func (v Vec2) Unpack() (float64, float64)
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.