automated snapshot
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user