move N_GENTEX and N_CORPORATION constants to logo module

This commit is contained in:
Josh Holtrop 2013-12-07 23:16:13 -05:00
parent 5e124c870a
commit 1d7f83bcf6
3 changed files with 5 additions and 5 deletions

View File

@ -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);
}

View File

@ -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;

View File

@ -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;