+ 2

Opengl rect

The rectangle is not forming. Another shape is being drawn by drawRect() function. The code is using 'glfw' library to draw The project github link is https://github.com/FrozenCoder57/opengl_rect Direct c++ source: https://code.sololearn.com/cH1tIHfHINsz/# The drawRect function's aim is to make easy to draw rectangle, in the similar way to CanvasRenderingContext2D.prototype.rect function

6th Jun 2020, 4:45 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
1 Réponse
0
NEZ Not in sololearn. The code works on actual pc
7th Jun 2020, 6:50 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar