-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
33 lines (28 loc) · 703 Bytes
/
main.cpp
File metadata and controls
33 lines (28 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
* CSCI 441, Computer Graphics, Fall 2022
*
* Project: lab04
* File: main.cpp
*
* Description:
* This file contains the basic setup to work with GLSL shaders.
*
* Author: Dr. Paone, Colorado School of Mines, 2022
*
*/
#include "FPEngine.hpp"
#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
///*****************************************************************************
//
// Our main function
int main() {
auto labEngine = new FPEngine();
labEngine->initialize();
if (labEngine->getError() == CSCI441::OpenGLEngine::OPENGL_ENGINE_ERROR_NO_ERROR) {
labEngine->run();
}
labEngine->shutdown();
delete labEngine;
return EXIT_SUCCESS;
}