lazarus/math/math.go

32 lines
253 B
Go
Raw Normal View History

2018-12-27 22:46:47 +00: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 17:59:58 +00:00
2018-12-31 18:54:33 +00:00
type Color3b struct {
R byte
G byte
B byte
}
2018-12-31 17:59:58 +00:00
type Color4b struct {
R byte
G byte
B byte
A byte
}