package
0.0.0-20240612180631-ff6b3076b28d
Repository: https://github.com/unklnik/raylib-go-more-examples.git
Documentation: pkg.go.dev

# README

2D - MOVING POLYGON TRIANGLES

Makes use of rl.DrawPoly to create a line of moving triangles - change direction using the W A S D keys. This is the easier method, as opposed to using rl.DrawTriangle, as you do not have to recalculate the Vector2 points on direction change. The change direction movement is rough and could definitely be improved however it demonstrates the usage. View more at unklnik.com

https://github.com/unklnik/raylib-go-more-examples/assets/146096950/89cab52c-0e7e-4815-a26a-376bec85f388