How can I draw a shape like this in OpenGL? I mean, I know how to draw polygons in OpenGL. I want to know how to make the outline black and the fill color ( for example ) yellow?
LearnOpenGL - Hello Triangle
Shapes (SFML / Learn / 2.0 Tutorials)
Drawing n-pointed star opengl c++ - Stack Overflow
c++ - OpenGL: While drawing a polygon, what if the first vertex is outside of the screen space (Triangle fans) - Stack Overflow
Draw Shapes in OpenGL (Line,Rectangle,Triangle,Polygon,Point), Computer Graphics
Interactive Techniques in Three-dimensional Scenes (Part 1): Moving 3D Objects with the Mouse using OpenGL 2.1 - CodeProject
OpenGL - Drawing polygons
Drawing Polylines by Tessellation - CodeProject
Lab 2: Points, Primitives and 2D Art
c++ - OpenGL - object outline - Stack Overflow
Rendering a Triangle using OpenGL(using Shaders) - GeeksforGeeks