|
|
@ -1,6 +1,8 @@ |
|
|
|
/******************************************************************************************* |
|
|
|
* |
|
|
|
* raylib [shapes] example - Draw Textured Polygon |
|
|
|
* raylib [textures] example - Draw Textured Polygon |
|
|
|
* |
|
|
|
* Example complexity rating: [★☆☆☆] 1/4 |
|
|
|
* |
|
|
|
* Example originally created with raylib 3.7, last time updated with raylib 3.7 |
|
|
|
* |
|
|
@ -34,8 +36,6 @@ int main(void) |
|
|
|
const int screenHeight = 450; |
|
|
|
|
|
|
|
InitWindow(screenWidth, screenHeight, "raylib [textures] example - textured polygon"); |
|
|
|
* |
|
|
|
* Example complexity rating: [★☆☆☆] 1/4 |
|
|
|
|
|
|
|
// Define texture coordinates to map our texture to poly |
|
|
|
Vector2 texcoords[MAX_POINTS] = { |
|
|
|