public static void INIT(Color[] _palette, Material _mat) { // init material mat = _mat; GL_FONT_3x5.Init(); GL_MATRIX_ANIMS.Init(); COL.INIT_PALETTES(_palette); }
public static void Draw_Glyph(char _char, float _x, float _y, float _size, Color _col, float _rotation = 1) { BitArray _CELLS = GL_FONT_3x5.Get(_char); GL_DRAW.Draw_MATRIX_RECT(_x, _y, _size * 3, -GL_DRAW.LockAspect_Y(_size * 5), 3, 5, _col, _CELLS, _rotation); }
public static void Draw_Glyph_NGON(char _char, float _x, float _y, float _size, float _ngonScaleFactor, int _sides, Color _col) { BitArray _CELLS = GL_FONT_3x5.Get(_char); GL_DRAW.Draw_MATRIX_NGON(_x, _y, _size * 3, -_size * 5, _sides, _ngonScaleFactor, 3, 5, _col, _CELLS); }