diff semiconginev2.nim @ 1234:841e12f33c47

add: text & font rendering, not tested yet
author sam <sam@basx.dev>
date Sat, 20 Jul 2024 00:03:57 +0700
parents c8e3037aca66
children e8b3dc80e48e
line wrap: on
line diff
--- a/semiconginev2.nim	Fri Jul 19 21:25:42 2024 +0700
+++ b/semiconginev2.nim	Sat Jul 20 00:03:57 2024 +0700
@@ -42,9 +42,12 @@
 
 include ./semiconginev2/audio
 
+# texture packing is required for font atlas
+include ./semiconginev2/contrib/algorithms/texture_packing
+include ./semiconginev2/text
+
 when not defined(NO_CONTRIB):
   include ./semiconginev2/contrib/steam
   include ./semiconginev2/contrib/settings
   include ./semiconginev2/contrib/algorithms/collision
   include ./semiconginev2/contrib/algorithms/noise
-  include ./semiconginev2/contrib/algorithms/texture_packing