Rotator

package
v0.0.0-...-7bd1904 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rotator

type Rotator struct {
	Pitch, Yaw, Roll float32
}

func New

func New(pitch float32, yaw float32, roll float32) *Rotator

func (*Rotator) Add

func (v *Rotator) Add(s *Rotator) *Rotator

func (*Rotator) AddScalar

func (v *Rotator) AddScalar(num float32) *Rotator

func (*Rotator) Distance

func (v *Rotator) Distance(s *Rotator) float32

func (*Rotator) Divide

func (v *Rotator) Divide(s *Rotator) *Rotator

func (*Rotator) DivideScalar

func (v *Rotator) DivideScalar(num float32) *Rotator

func (*Rotator) Magnitude

func (v *Rotator) Magnitude() float32

func (*Rotator) RotatePitch

func (v *Rotator) RotatePitch(num float32) *Rotator

func (*Rotator) RotateRoll

func (v *Rotator) RotateRoll(num float32) *Rotator

func (*Rotator) RotateYaw

func (v *Rotator) RotateYaw(num float32) *Rotator

func (*Rotator) Subtract

func (v *Rotator) Subtract(s *Rotator) *Rotator

func (*Rotator) SubtractScalar

func (v *Rotator) SubtractScalar(num float32) *Rotator

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL