Finally, the code is clean enough to add more stuff

This commit is contained in:
Michał Gdula 2024-01-25 20:29:32 +00:00
parent d0ebc1ee54
commit 00c449abff
3 changed files with 46 additions and 54 deletions

View file

@ -5,13 +5,17 @@ import (
)
type Canvas struct {
Name string
Size raylib.Vector2
Offset raylib.Vector2
Target raylib.RenderTexture2D
Name string
Size raylib.Vector2
Offset raylib.Vector2
Target raylib.RenderTexture2D
Strokes []penTool
UndoneStrokes []penTool
Refresh bool
Refresh bool
}
func (c *Canvas) Update() {