Documentation
¶
Index ¶
- type Vec2F
- func (v Vec2F) Add(u Vec2F) Vec2F
- func (v Vec2F) AddX(x float64) Vec2F
- func (v Vec2F) AddY(y float64) Vec2F
- func (v Vec2F) Dist2(u Vec2F) float64
- func (v Vec2F) IsZero() bool
- func (v Vec2F) Len() float64
- func (v Vec2F) Len2() float64
- func (v Vec2F) Norm() Vec2F
- func (v Vec2F) OX() Vec2F
- func (v Vec2F) OY() Vec2F
- func (v Vec2F) Scale(n float64) Vec2F
- func (v Vec2F) Sub(u Vec2F) Vec2F
- type Vec2I
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vec2F ¶
func RandomVec2F ¶
func RandomVec2F() Vec2F
Click to show internal directories.
Click to hide internal directories.