Initial commit

This commit is contained in:
2022-06-05 12:54:30 -04:00
commit cb1bdec005
21 changed files with 702 additions and 0 deletions

14
core/rect2d.go Normal file
View File

@ -0,0 +1,14 @@
package core
import "fmt"
type Rect2D struct {
X float64
Y float64
W float64
H float64
}
func (rect Rect2D) String() string {
return fmt.Sprintf("X: %v, Y: %v, W: %v, H: %v", rect.X, rect.Y, rect.W, rect.H)
}