automated snapshot

This commit is contained in:
sumi
2025-12-23 22:39:45 -06:00
parent a4f58ab0e8
commit dedea78dbc
2 changed files with 4 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
package main
import (
"fmt"
"math"
"github.com/gen2brain/raylib-go/raylib"
)
@@ -145,6 +146,9 @@ func (s *Sketch) Draw(ctx *RenderCtx) {
b = config.b
}
tint := rl.NewColor(r, g, b, config.a)
fmt.Printf("rendering layer '%s' with config %v\n", instance.name, instance.config)
rl.DrawTexturePro(instance.texture.Texture, src, dst, rl.Vector2{}, 0, tint)
}
}