Documentation
¶
Index ¶
- type Vector3
- func (v Vector3) Abs() Vector3
- func (v Vector3) Add(with Vector3) Vector3
- func (v Vector3) Addf(with float64) Vector3
- func (v Vector3) AngleTo(to Vector3) float64
- func (v Vector3) BezierDerivative(control_1, control_2, end Vector3, t float64) Vector3
- func (v Vector3) BezierInterpolate(control_1, control_2, end Vector3, t float64) Vector3
- func (v Vector3) Bounce(normal Vector3) Vector3
- func (v Vector3) Ceil() Vector3
- func (v Vector3) Cross(with Vector3) Vector3
- func (v Vector3) CubicInterpolate(b Vector3, pre_a Vector3, post_b Vector3, weight float64) Vector3
- func (v Vector3) CubicInterpolateInTime(b, pre_a, post_b Vector3, weight, b_t, pre_a_t, post_b_t float64) Vector3
- func (v Vector3) DirectionTo(to Vector3) Vector3
- func (v Vector3) DistanceSquaredTo(to Vector3) float64
- func (v Vector3) DistanceTo(to Vector3) float64
- func (v Vector3) Div(with Vector3) Vector3
- func (v Vector3) Divf(with float64) Vector3
- func (v Vector3) Dot(with Vector3) float64
- func (v Vector3) Floor() Vector3
- func (v Vector3) Inverse() Vector3
- func (v Vector3) IsDown() bool
- func (v Vector3) IsEqualApprox(b Vector3) bool
- func (v Vector3) IsNormalized() bool
- func (v Vector3) IsUp() bool
- func (v Vector3) Length() float64
- func (v Vector3) LengthSquared() float64
- func (v Vector3) Lerp(to Vector3, weight float64) Vector3
- func (v Vector3) Mul(with Vector3) Vector3
- func (v Vector3) Mulf(with float64) Vector3
- func (v *Vector3) Normalize()
- func (v Vector3) Normalized() Vector3
- func (v Vector3) Posmod(mod float64) Vector3
- func (v Vector3) Posmodv(modv Vector3) Vector3
- func (v Vector3) Project(to Vector3) Vector3
- func (v Vector3) Reflect(normal Vector3) Vector3
- func (v *Vector3) Rotate(axis Vector3, angle float64)
- func (v Vector3) Rotated(axis Vector3, angle float64) Vector3
- func (v Vector3) Round() Vector3
- func (v Vector3) Sign() Vector3
- func (v Vector3) SignedAngleTo(to, axis Vector3) float64
- func (v Vector3) Slerp(to Vector3, weight float64) Vector3
- func (v Vector3) Slide(normal Vector3) Vector3
- func (v Vector3) Sub(with Vector3) Vector3
- func (v Vector3) Subf(with float64) Vector3
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vector3 ¶
func (Vector3) BezierDerivative ¶
func (Vector3) BezierInterpolate ¶
func (Vector3) CubicInterpolate ¶
func (Vector3) CubicInterpolateInTime ¶
func (Vector3) DirectionTo ¶
func (Vector3) DistanceSquaredTo ¶
func (Vector3) DistanceTo ¶
func (Vector3) IsEqualApprox ¶
func (Vector3) IsNormalized ¶
func (Vector3) LengthSquared ¶
func (Vector3) Normalized ¶
func (*Vector3) Rotate ¶
Rotate the current Vector3 around the provided axis by the specified angle.
func (Vector3) Rotated ¶
Return a new Vector3 that is the result of rotating the current Vector3 around the provided axis by the specified angle.
func (Vector3) SignedAngleTo ¶
Click to show internal directories.
Click to hide internal directories.