Advertisement
Guest User

Untitled

a guest
Nov 14th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #define NUM_POINTS (sizeof(triangle)/sizeof(triangle[0]))
  2.  
  3. static const point triangle[] = {
  4. { -15, 0 },
  5. { 0 , -20 },
  6. { 15, 0 },
  7. };
  8.  
  9.  
  10. gdispFillConvexPoly(DISPLAY_SIZE_X / 2 + SCREEN_SLIDE_X, DISPLAY_SIZE_Y / 2 + SCREEN_SLIDE_Y, triangle, NUM_POINTS,
  11. Teal);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement