Changeset 22b2c37 in opengl-game
- Timestamp:
- Jul 21, 2017, 3:10:08 AM (8 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 21de283
- Parents:
- 644a2e4
- Files:
-
- 2 added
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
r644a2e4 r22b2c37 2 2 game 3 3 demo 4 5 gl.log 4 6 5 7 # Visual Studio files -
game06.cpp
r644a2e4 r22b2c37 190 190 191 191 // Compute the MVP matrix from keyboard and mouse input 192 computeMatricesFromInputs( );192 computeMatricesFromInputs(1024, 768); 193 193 glm::mat4 ProjectionMatrix = getProjectionMatrix(); 194 194 glm::mat4 ViewMatrix = getViewMatrix(); -
makefile
r644a2e4 r22b2c37 10 10 endif 11 11 12 newgame: new-game.cpp 12 newgame: new-game.cpp logger.cpp 13 13 $(CC) $? $(DEP) $(CFLAGS) -o $@ 14 14 -
new-game.cpp
r644a2e4 r22b2c37 1 #include <cstdio> 2 #include <iostream> 1 #include "logger.h" 3 2 4 3 #include <GL/glew.h> 5 4 #include <GLFW/glfw3.h> 5 6 #include <cstdio> 7 #include <iostream> 6 8 7 9 using namespace std; … … 9 11 int main(int argc, char* argv[]) { 10 12 cout << "New OpenGL Game" << endl; 13 14 restart_gl_log(); 11 15 12 16 if (!glfwInit()) {
Note:
See TracChangeset
for help on using the changeset viewer.