add simple math containers

This commit is contained in:
Alex Yatskov 2018-12-27 14:46:47 -08:00
parent 7a8338c19d
commit 5ceb63b86d

18
math/math.go Normal file
View File

@ -0,0 +1,18 @@
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
}