Update example

This commit is contained in:
Milan Nikolic 2023-11-12 11:46:29 +01:00
parent 48115fd903
commit 0d91e92a2f
No known key found for this signature in database
GPG key ID: 9229D0EAA3AA4E75

View file

@ -143,7 +143,7 @@ func drawTexturedCurve() {
currentNegNormal := rl.Vector2Add(current, rl.Vector2Scale(normal, -curveW))
rl.SetTexture(texRoad.ID)
rl.Begin(rl.RL_QUADS)
rl.Begin(rl.Quads)
rl.Color4ub(255, 255, 255, 255)
rl.Normal3f(0, 0, 1)