mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Renamed cWindow to Window in EE::Window... Window, Window Window.
I don't like it but i don't other option.
This commit is contained in:
@@ -10,7 +10,7 @@ static Float sqrt_aprox[20001];
|
||||
|
||||
Uint32 ParticlesNum = 30000;
|
||||
|
||||
cWindow * win = NULL;
|
||||
EE::Window::Window * win = NULL;
|
||||
Input * imp = NULL;
|
||||
cShaderProgram * ShaderProgram = NULL;
|
||||
bool ShadersSupported = false;
|
||||
@@ -21,7 +21,7 @@ Vector3ff * vertices = eeNewArray( Vector3ff, ParticlesNum );
|
||||
Vector3ff * velocities = eeNewArray( Vector3ff, ParticlesNum );
|
||||
ColorAf * colors = eeNewArray( ColorAf, ParticlesNum );
|
||||
|
||||
void videoResize( cWindow * w ) {
|
||||
void videoResize( EE::Window::Window * w ) {
|
||||
/// Video Resize event will re-setup the 2D projection and states, so we must rebuild them.
|
||||
aspectRatio = (Float)win->GetWidth() / (Float)win->GetHeight();
|
||||
tw = (Float)win->GetWidth() / 2;
|
||||
|
||||
Reference in New Issue
Block a user