vector

package
v0.0.0-...-5852c71 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dot

func Dot(a, b Vector3) float64

Types

type Vector3

type Vector3 struct {
	X, Y, Z float64
}

func Substract

func Substract(a, b Vector3) Vector3

func (Vector3) Magnitude

func (v Vector3) Magnitude() float64

func (*Vector3) MultiplyByScalar

func (v *Vector3) MultiplyByScalar(s float64)

func (*Vector3) Normalize

func (v *Vector3) Normalize()

func (Vector3) Normalized

func (v Vector3) Normalized() Vector3

Jump to

Keyboard shortcuts

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