[WIP] Render full text on screen
This commit is contained in:
1 parent
d59d8c640e
commit
fb3151c5d1
6 files changed
+35
-34
No files matched your search
@@ -44,7 +44,7 @@ void rse_graphics_test_function(void)
|
||||
return;
|
||||
}
|
||||
rse_fonts_initialize();
|
||||
rse_fonts_load_from_file("/usr/share/fonts/JetBrainsMonoNerdFont/JetBrainsMonoNerdFont-Medium.ttf");
|
||||
rse_fonts_load_from_file("/usr/share/fonts/TTF/JetBrainsMonoNerdFont-Medium.ttf");
|
||||
|
||||
// FIXME: Temporary array of vertices, for testing purposes
|
||||
struct rse_vertex_t vertices[] = {{{-0.5f, -0.5f, 0.0f}, {1.0f, 0.0f, 0.0f}, {0.0f, 0.0f}},
|
||||
@@ -83,7 +83,7 @@ void rse_graphics_test_function(void)
|
||||
tex_id_2
|
||||
});
|
||||
|
||||
rse_print_text("Ai");
|
||||
rse_print_text("Hello World!", (struct vec3_t){-1.0f, 1.0f, 0.0f}, 0.3f);
|
||||
}
|
||||
|
||||
rse_err_t rse_graphics_run(void)
|
||||
|
||||
Reference in new issue
Block a user