drawTexturePoly function
void
drawTexturePoly()
Draw a textured polygon.
Implementation
void drawTexturePoly(
Texture2D texture,
Vector2 center,
List<Vector2> points,
List<Vector2> texcoords,
int pointsCount,
Color tint,
) {
return library.DrawTexturePoly(
texture.ref,
center.ref,
vector2.toPointer(points),
vector2.toPointer(texcoords),
pointsCount,
tint.ref,
);
}