coords

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matrix

type Matrix [6]float64

func Identity

func Identity() Matrix

func Rotate

func Rotate(angle float64) Matrix

func Scale

func Scale(sx, sy float64) Matrix

func Translate

func Translate(tx, ty float64) Matrix

func (Matrix) Inverse

func (m Matrix) Inverse() (Matrix, error)

func (Matrix) Multiply

func (m Matrix) Multiply(o Matrix) Matrix

func (Matrix) Transform

func (m Matrix) Transform(p Point) Point

type Point

type Point struct{ X, Y float64 }

Jump to

Keyboard shortcuts

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