Documentation
¶
Index ¶
- func AddULPs(f float64, ulps int64) float64
- func IntMax(x, y int) int
- func IntMin(x, y int) int
- type Dimensions
- type Ray
- type Triple
- type Vector
- func (v Vector) Abs() Vector
- func (v Vector) Add(u Vector) Vector
- func (v Vector) AddULPs(ulps int64) Vector
- func (v Vector) Cross(u Vector) Vector
- func (v Vector) Div(u Vector) Vector
- func (v Vector) Dot(u Vector) float64
- func (v Vector) Floor() Vector
- func (v Vector) Length() float64
- func (v Vector) LengthSq() float64
- func (v Vector) Max(u Vector) Vector
- func (v Vector) Min(u Vector) Vector
- func (v Vector) Mul(u Vector) Vector
- func (v Vector) Proj(unit Vector) Vector
- func (v Vector) Rej(unit Vector) Vector
- func (v Vector) Rotate(u Vector, rads float64) Vector
- func (v Vector) Scale(mul float64) Vector
- func (v Vector) Sign() Vector
- func (v Vector) Sub(u Vector) Vector
- func (v Vector) Unit() Vector
- func (v Vector) X0() Vector
- func (v Vector) Y0() Vector
- func (v Vector) Z0() Vector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dimensions ¶
Click to show internal directories.
Click to hide internal directories.