Documentation
¶
Index ¶
- type SVector
- func (sv SVector) Add(sv2 SVector) SVector
- func (sv SVector) AddN(n float64) SVector
- func (sv SVector) Angle(sv2 SVector) float64
- func (sv SVector) Distance(sv2 SVector) float64
- func (sv SVector) Divide(sv2 SVector) SVector
- func (sv SVector) DivideN(n float64) SVector
- func (sv SVector) Dot(sv2 SVector) float64
- func (sv SVector) Limit(n float64) SVector
- func (sv SVector) Magnitude() float64
- func (sv SVector) Multiply(sv2 SVector) SVector
- func (sv SVector) MultiplyN(n float64) SVector
- func (sv SVector) Normalize() SVector
- func (sv SVector) Subtract(sv2 SVector) SVector
- func (sv SVector) SubtractN(n float64) SVector
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.