lazarus/math/math.go

32 lines
253 B
Go
Raw Normal View History

2018-12-27 14:46:47 -08:00
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
}
2018-12-31 09:59:58 -08:00
2018-12-31 10:54:33 -08:00
type Color3b struct {
R byte
G byte
B byte
}
2018-12-31 09:59:58 -08:00
type Color4b struct {
R byte
G byte
B byte
A byte
}