projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update model format
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_sfd.h
diff --git
a/world_sfd.h
b/world_sfd.h
index 88f73316585dc28980d4b708da56045be628dafa..3977e62e1edab68f934fad91587386b49d9fc738 100644
(file)
--- a/
world_sfd.h
+++ b/
world_sfd.h
@@
-44,7
+44,7
@@
float sfd_encode_glyph( char c )
value = 63-c;
else
{
value = 63-c;
else
{
- int base =
'A'+11+27
;
+ int base =
11+26
;
switch( c )
{
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+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;
}
}
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 )
{
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 );
struct subworld_sfd *sfd = subworld_sfd();
scene_bind( &sfd->mesh );