vector

package
v0.0.0-...-51c6363 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: MIT Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vector

type Vector struct {
	X, Y, Z float64
}

func (Vector) Cross

func (v Vector) Cross(o Vector) Vector

func (Vector) Diff

func (v Vector) Diff(o Vector) Vector

func (Vector) Divide

func (v Vector) Divide(d float64) Vector

func (Vector) Dot

func (v Vector) Dot(o Vector) float64

func (Vector) Norm

func (v Vector) Norm() float64

func (Vector) String

func (v Vector) String() string

func (Vector) Sum

func (v Vector) Sum(o Vector) Vector

Jump to

Keyboard shortcuts

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