mat

package
v0.0.0-...-a2463fe Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mat2

type Mat2 [2 * 2]float32

func Eye2

func Eye2() Mat2

func (*Mat2) Add

func (c *Mat2) Add(a, b Mat2)

func (*Mat2) AddScalar

func (c *Mat2) AddScalar(f float32, a Mat2)

func (*Mat2) At

func (a *Mat2) At(i, j int) float32

func (*Mat2) Index

func (a *Mat2) Index(i, j int) int

func (*Mat2) Mul

func (a *Mat2) Mul(b Mat2) Mat2

func (*Mat2) Scale

func (c *Mat2) Scale(f float32, a Mat2)

func (*Mat2) Set

func (a *Mat2) Set(i, j int, f float32)

func (*Mat2) Sub

func (c *Mat2) Sub(a, b Mat2)

func (*Mat2) Transpose

func (a *Mat2) Transpose() Mat2

type Mat3

type Mat3 [3 * 3]float32

func Eye3

func Eye3() Mat3

func (*Mat3) Add

func (c *Mat3) Add(a, b Mat3)

func (*Mat3) AddScalar

func (c *Mat3) AddScalar(f float32, a Mat3)

func (*Mat3) At

func (a *Mat3) At(i, j int) float32

func (*Mat3) Index

func (a *Mat3) Index(i, j int) int

func (*Mat3) Mul

func (a *Mat3) Mul(b Mat3) Mat3

func (*Mat3) Scale

func (c *Mat3) Scale(f float32, a Mat3)

func (*Mat3) Set

func (a *Mat3) Set(i, j int, f float32)

func (*Mat3) Sub

func (c *Mat3) Sub(a, b Mat3)

func (*Mat3) Transpose

func (a *Mat3) Transpose() Mat3

type Mat4

type Mat4 [4 * 4]float32

func Eye4

func Eye4() Mat4

func (*Mat4) Add

func (c *Mat4) Add(a, b Mat4)

func (*Mat4) AddScalar

func (c *Mat4) AddScalar(f float32, a Mat4)

func (*Mat4) At

func (a *Mat4) At(i, j int) float32

func (*Mat4) Index

func (a *Mat4) Index(i, j int) int

func (*Mat4) Mul

func (a *Mat4) Mul(b Mat4) Mat4

func (*Mat4) Scale

func (c *Mat4) Scale(f float32, a Mat4)

func (*Mat4) Set

func (a *Mat4) Set(i, j int, f float32)

func (*Mat4) Sub

func (c *Mat4) Sub(a, b Mat4)

func (*Mat4) Transpose

func (a *Mat4) Transpose() Mat4

Jump to

Keyboard shortcuts

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