add simple math containers
This commit is contained in:
parent
7a8338c19d
commit
5ceb63b86d
18
math/math.go
Normal file
18
math/math.go
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user