Drawing a triangle with SDL2!
In this video we'll see how to draw a white triangle to the screen using the built in functions from SDL2. One thing I forgot to mention is that there is another function for drawing an array of lines instead of calling them individually, I'll make a video about it if needed.
SDL_Point:
https://wiki.libsdl.org/SDL_Point
SDL_RenderDrawLine:
https://wiki.libsdl.org/SDL_RenderDrawLine
SDL_RenderDrawLines:
2020-02-03
2.0 LBC
None
20594576 Bytes