StevensDeptECE / GrailGUI

GrailGUI is a prototype of a replacement for web programming (HTTP, HTML, CSS, JavaScript) and GUI programming. It includes a client graphical API, a browser implemented in C++ and OpenGL, a protocol to transmit metadata and data in binary, a language (XDL) to describe the binary data, and local storage to retain data on the client should that be necessary. Encrypted communications (equivalent of TLS) have not yet been implemented.
GNU General Public License v3.0
7 stars 14 forks source link

Rewrite circle and ellipse fill functions #27

Open ahuston-0 opened 3 years ago

ahuston-0 commented 3 years ago

Our current method of filling circles is based on drawing triangles from the center of the circle. While this probably isn't the worst way to do it, it could be much more efficient if we drew triangles from each edge to an opposing vertex. As such, we should definitely rewrite our circle methods at some point.