Comments on: How to draw a perfect Hexagon!
http://ludumdare.com/compo/2014/11/11/how-to-draw-a-perfect-hexagon/
A tri-annual 48 hour solo game development competition.Fri, 01 May 2020 06:30:51 +0000hourly1https://wordpress.org/?v=4.4.2By: German Kuznetsov
http://ludumdare.com/compo/2014/11/11/how-to-draw-a-perfect-hexagon/comment-page-1/#comment-576946
Tue, 11 Nov 2014 22:24:57 +0000http://ludumdare.com/compo/?p=397602#comment-576946And this is where OpenGL is good. In 5 lines of code one can write a function that can draw a triangle quadrangle (square) pentagon hexagon et cetera. One can Evan draw a ‘circle’. (40-side-agone looks like a circle). However, I find the math you did easear then what you have to do to split the x-sided figure into x triangles. OpenGL can be nice, but sometime more complex /more math seams more straight forward.
]]>