mat

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 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 Matrix4x4

type Matrix4x4 struct {
	X00, X01, X02, X03 float64
	X10, X11, X12, X13 float64
	X20, X21, X22, X23 float64
	X30, X31, X32, X33 float64
}

func Identity added in v0.4.0

func Identity() Matrix4x4

func MatFromDirs added in v0.4.0

func MatFromDirs(up, forward, offset vector3.Float64) Matrix4x4

func (Matrix4x4) Add

func (a Matrix4x4) Add(b Matrix4x4) Matrix4x4

func (Matrix4x4) Determinant

func (a Matrix4x4) Determinant() float64

func (Matrix4x4) Inverse

func (a Matrix4x4) Inverse() Matrix4x4

func (Matrix4x4) MulPosition

func (a Matrix4x4) MulPosition(b vector3.Float64) vector3.Float64

func (Matrix4x4) Multiply added in v0.4.0

func (a Matrix4x4) Multiply(b Matrix4x4) Matrix4x4

Jump to

Keyboard shortcuts

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