lazarus/math/math.go

32 lines
253 B
Go

package math
type Vec2i struct {
X int
Y int
}
type Vec2f struct {
X float32
Y float32
}
type Rect4i struct {
X int
Y int
W int
H int
}
type Color3b struct {
R byte
G byte
B byte
}
type Color4b struct {
R byte
G byte
B byte
A byte
}