Changeset 22b2c37 in opengl-game


Ignore:
Timestamp:
Jul 21, 2017, 3:10:08 AM (8 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
21de283
Parents:
644a2e4
Message:

Add a simple logger and remove some old, unneeded tutorial files

Files:
2 added
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    r644a2e4 r22b2c37  
    22game
    33demo
     4
     5gl.log
    46
    57# Visual Studio files
  • game06.cpp

    r644a2e4 r22b2c37  
    190190
    191191                // Compute the MVP matrix from keyboard and mouse input
    192                 computeMatricesFromInputs();
     192                computeMatricesFromInputs(1024, 768);
    193193                glm::mat4 ProjectionMatrix = getProjectionMatrix();
    194194                glm::mat4 ViewMatrix = getViewMatrix();
  • makefile

    r644a2e4 r22b2c37  
    1010endif
    1111
    12 newgame: new-game.cpp
     12newgame: new-game.cpp logger.cpp
    1313        $(CC) $? $(DEP) $(CFLAGS) -o $@
    1414
  • new-game.cpp

    r644a2e4 r22b2c37  
    1 #include <cstdio>
    2 #include <iostream>
     1#include "logger.h"
    32
    43#include <GL/glew.h>
    54#include <GLFW/glfw3.h>
     5
     6#include <cstdio>
     7#include <iostream>
    68
    79using namespace std;
     
    911int main(int argc, char* argv[]) {
    1012   cout << "New OpenGL Game" << endl;
     13
     14   restart_gl_log();
    1115
    1216   if (!glfwInit()) {
Note: See TracChangeset for help on using the changeset viewer.