demo of my first c++ class :D

3 Просмотры
Издатель
here's a demo of my first crack at c++. it's a bitmap font class basically, but unlike last time, i'm not using some fancy format i made up one day. it's literally an unsigned char[1024], where each bit is a pixel in the 8x8 font (for 128 chars total).

first, i took this:
https://github.com/dhepper/font8x8/blob/master/font8x8_basic.h
then, reformatted it, adding in 31 chars (between 0x01-0x1f), 17 of which are shown here.


(full disclosure, the cube is basically just 12 char arrays that's like 24k in size total. i'm not actually doing real-time shading here lol)
Категория
Язык программирования C++
Комментариев нет.