mat2

package
v0.0.0-...-e9402f6 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package mat2 provides GPU operations on 2x2 matrices.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Determinant

func Determinant(a ColumnMajor) gpu.Float

Types

type ColumnMajor

type ColumnMajor gpu.Mat2

func ComponentMul

func ComponentMul(a, b ColumnMajor) ColumnMajor

func Inverse

func Inverse(a ColumnMajor) ColumnMajor

func Mul

func Mul(a, b ColumnMajor) ColumnMajor

func OuterProduct

func OuterProduct(a, b gpu.Vec2) ColumnMajor

func Transpose

func Transpose(a ColumnMajor) ColumnMajor

Jump to

Keyboard shortcuts

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