Mikko Mononen
9b00b7aaf5
Implemented OGL 3.2 core profile back-end
...
- moved demo stuff to separate file
- created two separate examples for gl2 and gl3
- initial stab at OGL 3.2 core profile back-end (currently twice as
slows as 2.0)
- API change: glBeginFrame() takes view witdth and height as input
- added FPS counter to demo
2014-02-09 17:33:37 +02:00
Mikko Mononen
714d18a4c6
Merge pull request #9 from r-lyeh/master
...
MSVC compile fix (example); win32 screenshot added
2014-02-08 21:31:59 +02:00
r-lyeh
0da08eec2e
MSVC compile fix (example); win32 screenshot added
2014-02-08 20:28:41 +01:00
Mikko Mononen
6773ef52de
Fixed issue #8
2014-02-08 20:13:59 +02:00
Mikko Mononen
c8e2466447
Fix text rendering flickering under rotation
...
- quantize font rendering scale
- round kerning values for less flicker
2014-02-08 20:11:23 +02:00
Mikko Mononen
4431218724
Fixed issue #6 , font atlas size was not passed to create texture
2014-02-07 23:04:43 +02:00
Mikko Mononen
07b9a24367
Updated fontstash
2014-02-02 18:26:56 +02:00
Mikko Mononen
aeefcd1c2f
Merge pull request #4 from andrewcorrigan/master
...
fix for https://github.com/memononen/nanovg/issues/3
2014-02-02 04:43:22 -08:00
Andrew Corrigan
1dd4cf0104
uses GLEW with Linux to avoid issues with glUniform1f, explicitly links glfw3 and C math library
2014-02-02 20:23:55 +08:00
Mikko Mononen
786dffa0cb
First stab at documentation.
2013-12-03 23:27:31 +02:00
Mikko Mononen
4b9dc973f7
Fixed arcTo, small additions to API
...
- fixed nvgArcTo
- added nvgTransRGBA, allows to change alpha of color
- added nvgFindFont, allows to find font id by name
2013-11-23 12:24:39 +02:00
Mikko Mononen
99e7d9b21d
added texture atlas size to glnvgCreate()
2013-11-14 23:31:29 +01:00
Mikko Mononen
68d27124a8
- decorated math functions
...
- updated font stash
- added end parameter to text (can draw substring)
- text and text measure return advance/width
2013-11-14 23:28:11 +01:00
Mikko Mononen
64e46db6f7
Fixed typo in readme
2013-11-12 22:58:53 +01:00
Mikko Mononen
6c0d41a124
Fixed small arc rendering, improved example, added screenshot
...
- fixed arc rendering for small arcs
- added color wheel to example
- added screenshot
2013-11-12 22:57:44 +01:00
Mikko Mononen
3507692c1d
Few more additions to readme
2013-11-12 08:43:45 +01:00
Mikko Mononen
4d1ef0cace
Clean up
...
- removed unused files
- added license
- added readme stub
2013-11-12 08:39:44 +01:00
Mikko Mononen
b89907ba6b
First commit
2013-11-12 08:34:27 +01:00