Added texture mapped font rendering.

This commit is contained in:
Marvin Blum
2016-08-07 00:32:16 +02:00
parent ed39081300
commit 3c1fb484b9
6 changed files with 290 additions and 169 deletions

View File

@@ -230,6 +230,7 @@ func initGoga(width, height int) {
AddSystem(NewModelRenderer(nil, nil, false))
AddSystem(NewCulling2D(0, 0, width, height))
AddSystem(NewKeyframeRenderer(nil, nil))
AddSystem(NewTextRenderer(nil, nil, nil)) // font must be set outside!
}
func cleanup() {