move render to systems

This commit is contained in:
2019-11-16 04:43:56 +03:00
parent 0d8649498c
commit 768426a316
4 changed files with 14 additions and 37 deletions

View File

@ -11,7 +11,7 @@ type ViewPort struct {
CameraCoords types.Coords
}
func NewViewPort(x, y, w, h int, layer *Layer) *ViewPort {
func NewViewPort(x, y, w, h int) *ViewPort {
vp := ViewPort{
Rect: types.Rect{x, y, w, h},
}