Add more ascii characters

Will also add more characters from code page 437
This commit is contained in:
2024-11-02 02:34:06 +00:00
parent 723dfafc18
commit a25b62d77f
6 changed files with 4 additions and 11 deletions
+1 -1
View File
@@ -323,7 +323,7 @@ charToTuple xoff c
f x y = (V3 (xoff + x * 100) (y * 200) 0, white, V3 x (1 - y) charnum)
-- textures in opengl have origins at the lower left, my char array has its
-- origin at the upper left
charnum = fromIntegral (fromEnum c) - 32
charnum = fromIntegral (fromEnum c) -- - 32
--charToTuple' :: Float -> Char -> [(Point3, Point4, Point3)]
--{-# INLINE charToTuple' #-}