X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_sfd.h;h=3977e62e1edab68f934fad91587386b49d9fc738;hb=ef20eba54785473caa827c09acf27607f927b990;hp=88f73316585dc28980d4b708da56045be628dafa;hpb=4c49b11c317034277be4d117c5d2847ef2f3492b;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_sfd.h b/world_sfd.h index 88f7331..3977e62 100644 --- a/world_sfd.h +++ b/world_sfd.h @@ -44,7 +44,7 @@ float sfd_encode_glyph( char c ) value = 63-c; else { - int base = 'A'+11+27; + int base = 11+26; switch( c ) { @@ -58,8 +58,8 @@ float sfd_encode_glyph( char c ) case '*': value=base+7; break; case '+': value=base+8; break; case '-': value=base+9; break; - case ':': value=base+10; break; - case '/': value=base+11; break; + case '/': value=base+10; break; + case ':': value=base+11; break; default: value=0; break; } } @@ -120,6 +120,7 @@ static void sfd_update( struct sfd_instance *display ) static void sfd_render( struct sfd_instance *display, m4x4f projection, v3f camera, m4x3f transform ) { + return; struct subworld_sfd *sfd = subworld_sfd(); scene_bind( &sfd->mesh );