projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
numerous
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_sfd.h
diff --git
a/world_sfd.h
b/world_sfd.h
index 3977e62e1edab68f934fad91587386b49d9fc738..515232cf31dc8daea63fe5c6671359f7d8a40be0 100644
(file)
--- a/
world_sfd.h
+++ b/
world_sfd.h
@@
-120,7
+120,6
@@
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 );
@@
-207,7
+206,7
@@
static void world_sfd_init(void)
float const k_glyph_uvw = 1.0f/64.0f;
vert->uv[0] -= k_glyph_uvw * (float)(i-4);
vert->colour[0] = 0.0f;
float const k_glyph_uvw = 1.0f/64.0f;
vert->uv[0] -= k_glyph_uvw * (float)(i-4);
vert->colour[0] = 0.0f;
- vert->colour[1] = i
-4
;
+ vert->colour[1] = i
*36
;
}
}
}
}
@@
-217,7
+216,7
@@
static void world_sfd_init(void)
free( mboard );
vg_tex2d_init( (vg_tex2d *[]){ &tex_scoretext }, 1 );
free( mboard );
vg_tex2d_init( (vg_tex2d *[]){ &tex_scoretext }, 1 );
- sfd_new( &sfd->tester,
16, 8
);
+ sfd_new( &sfd->tester,
27, 13
);
}
static void world_sfd_register(void)
}
static void world_sfd_register(void)