move N_GENTEX and N_CORPORATION constants to logo module
This commit is contained in:
parent
5e124c870a
commit
1d7f83bcf6
@ -30,12 +30,12 @@ class FadingLogosMode : Mode
|
||||
|
||||
glUniformMatrix4fv(m_shader.view_idx, 1, GL_TRUE, view_matrix.value_ptr);
|
||||
|
||||
for (int i = 0; i < N_GENTEX; i++)
|
||||
for (int i = 0; i < logo.N_GENTEX; i++)
|
||||
{
|
||||
draw_letter(logo.GENTEX, i);
|
||||
}
|
||||
|
||||
for (int i = 0; i < N_CORPORATION; i++)
|
||||
for (int i = 0; i < logo.N_CORPORATION; i++)
|
||||
{
|
||||
draw_letter(logo.CORPORATION, i);
|
||||
}
|
||||
|
@ -3,6 +3,9 @@ import glamour.vao;
|
||||
import glamour.vbo;
|
||||
static import logoobj;
|
||||
|
||||
immutable int N_GENTEX = 6;
|
||||
immutable int N_CORPORATION = 11;
|
||||
|
||||
immutable enum int FACE = 0;
|
||||
immutable enum int WIRE = 1;
|
||||
|
||||
|
@ -5,9 +5,6 @@ import derelict.opengl3.gl3;
|
||||
static import logo;
|
||||
import mode;
|
||||
|
||||
immutable int N_GENTEX = 6;
|
||||
immutable int N_CORPORATION = 11;
|
||||
|
||||
class ScreenSaver
|
||||
{
|
||||
protected int m_width;
|
||||
|
Loading…
x
Reference in New Issue
Block a user