gg/src/gx/transform.go

21 lines
244 B
Go
Raw Normal View History

2023-02-17 12:47:17 +03:00
package gx
type Float float64
type Vector struct {
X, Y Float
}
type Transform struct {
// Position, scale, rotate around.
P, S, RA Vector
// Rotation angle in radians.
R Float
}
func T() Transform {
ret := Transform{}
return ret
}