projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
preliminary compressed audio
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_sfd.h
diff --git
a/world_sfd.h
b/world_sfd.h
index 3977e62e1edab68f934fad91587386b49d9fc738..71fee37a59acacd60417f7bd0e3bd52c321c9f00 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
;
}
}
}
}