Commit graph

17 commits

Author SHA1 Message Date
Thomas Friedel
20674e7f7a polygons should only be defined by the path since the last moveTo 2018-01-31 12:12:42 +01:00
Thomas Friedel
4a0b551a93 added a clip function to clip to a polygon (doesn't work with save/restore yet) 2018-01-30 18:32:39 +01:00
Thomas Friedel
1727f47a6f moved package 2018-01-30 13:02:34 +01:00
Thomas Friedel
395ef95009 added transformations, translate, scale, rotate 2018-01-29 16:04:56 +01:00
Thomas Friedel
6480345a60 added save and restore functions for draw state 2018-01-29 15:32:17 +01:00
Thomas Friedel
8a66ff2166 moved a freetype source file into the project and optimized it for the given purpose, only upload rendered text rectangle to the texture 2018-01-29 13:14:42 +01:00
Thomas Friedel
79bf4f6b5f arc function implemented 2018-01-25 16:24:32 +01:00
Thomas Friedel
0715639ad2 rearranged things a bit 2018-01-25 15:50:05 +01:00
Thomas Friedel
85667e8f57 added support for loading fonts and rendering text (highly unoptimized so far) 2018-01-25 15:08:03 +01:00
Thomas Friedel
67142c3c8d added an fps counter function 2018-01-25 15:07:22 +01:00
Thomas Friedel
9d0dad8bba added a package to create a simple window with a canvas using SDL 2018-01-25 12:36:29 +01:00
Thomas Friedel
6c0234959e added support for loading and drawing images 2018-01-25 12:08:39 +01:00
Thomas Friedel
47e34cc670 changed library import path 2018-01-25 10:57:28 +01:00
Thomas Friedel
d9d3099087 ignored some files 2018-01-24 17:02:15 +01:00
Thomas Friedel
97615b7595 added polygon filling 2018-01-24 16:59:07 +01:00
Thomas Friedel
c1de2f2b7d a go-gl implementation of the gl interface 2018-01-24 14:20:12 +01:00
Thomas Friedel
4be47cd5ab first version 2018-01-24 14:19:32 +01:00