Documentation
¶
Index ¶
- func Distance(a *Vector3, b *Vector3) float64
- func Dot(ihs *Vector3, rhs *Vector3) float64
- type Vector3
- func (v *Vector3) Add(other *Vector3) *Vector3
- func (v *Vector3) AddScalar(scalar float64) *Vector3
- func (v *Vector3) AddScalars(x float64, y float64, z float64) *Vector3
- func (v *Vector3) Copy() *Vector3
- func (v *Vector3) Cross(other *Vector3) *Vector3
- func (v *Vector3) Distance(other *Vector3) float64
- func (v *Vector3) Div(other *Vector3) *Vector3
- func (v *Vector3) DivScalar(scalar float64) *Vector3
- func (v *Vector3) DivScalars(x float64, y float64, z float64) *Vector3
- func (v *Vector3) Dot(other *Vector3) float64
- func (v *Vector3) Equals(other *Vector3) bool
- func (v *Vector3) Lerp(other *Vector3, t float64) *Vector3
- func (v *Vector3) Magnitude() float64
- func (v *Vector3) Mul(other *Vector3) *Vector3
- func (v *Vector3) MulScalar(scalar float64) *Vector3
- func (v *Vector3) MulScalars(x float64, y float64, z float64) *Vector3
- func (v *Vector3) Normalize() *Vector3
- func (v *Vector3) Reflect(other *Vector3) *Vector3
- func (v *Vector3) Set(x float64, y float64, z float64) *Vector3
- func (v *Vector3) String() string
- func (v *Vector3) Sub(other *Vector3) *Vector3
- func (v *Vector3) SubScalar(scalar float64) *Vector3
- func (v *Vector3) SubScalars(x float64, y float64, z float64) *Vector3
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.