xmath

package
v0.0.0-...-9050bac Latest Latest
Warning

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

Go to latest
Published: Dec 9, 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 Geom32

type Geom32 struct {
	A1 float32 // The actual 'a' value minus 1
	B  float32
	C  float32
	D1 float32 // The actual 'd' value minus 1
	Tx float32
	Ty float32
}

func (*Geom32) ApplyX

func (g *Geom32) ApplyX(x, y float32) float32

func (*Geom32) ApplyY

func (g *Geom32) ApplyY(x, y float32) float32

func (*Geom32) Rotate

func (g *Geom32) Rotate(theta float64)

func (*Geom32) Scale

func (g *Geom32) Scale(x, y float32)

func (*Geom32) Translate

func (g *Geom32) Translate(tx, ty float32)

Jump to

Keyboard shortcuts

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