mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-05 14:30:03 +01:00
added ctime
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#include <QtGui/QPainter>
|
||||
#include <iostream>
|
||||
#include<cmath>
|
||||
|
||||
#include<ctime>
|
||||
|
||||
|
||||
void _gluPerspective( GLdouble fovY, GLdouble aspect, GLdouble zNear, GLdouble zFar )
|
||||
@@ -40,7 +40,7 @@ void glDisplayWindow::initialize() {
|
||||
glClearDepth(1.0f);
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
resize(1280, 720);
|
||||
srand((unsigned int)time(0));
|
||||
srand((unsigned int)std::time(0));
|
||||
glEnable(GL_TEXTURE_2D);
|
||||
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
|
||||
glClearColor(0.0, 0.0, 0.0, 0.0);}
|
||||
|
||||
Reference in New Issue
Block a user