fl32

package
v0.0.0-...-e95280a Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2021 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 Mat3

type Mat3 [3]Vec3

Mat3 represents a 3x3 matrix

type Mat4

type Mat4 [4]Vec3

Mat4 represents a 4x4 matrix

type Vec2

type Vec2 [2]float32

Vec2 represents a vector with 2 elements

func (Vec2) String

func (obj Vec2) String() string

String returns the string representation of the vector

func (Vec2) X

func (obj Vec2) X() float32

X returns the value at index 0

func (Vec2) Y

func (obj Vec2) Y() float32

Y returns the value at index 1

type Vec3

type Vec3 [3]float32

Vec3 represents a vector with 3 elements

func (Vec3) String

func (obj Vec3) String() string

String returns the string representation of the vector

func (Vec3) X

func (obj Vec3) X() float32

X returns the value at index 0

func (Vec3) Y

func (obj Vec3) Y() float32

Y returns the value at index 1

func (Vec3) Z

func (obj Vec3) Z() float32

Z returns the value at index 2

type Vec4

type Vec4 [4]float32

Vec4 represents a vector with 4 elements

Jump to

Keyboard shortcuts

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