Changes in / [446e55d:3d96d13] in opengl-game


Ignore:
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TODO.txt

    r446e55d r3d96d13  
    1 DEBUGGING
    2 ==========
    3 -Read the sections about shader debugging, starting from line 59
    4 
    51TODO
    62==========
  • new-game.cpp

    r446e55d r3d96d13  
    215215
    216216double fps;
     217unsigned int score = 0;
    217218
    218219vec3 cam_pos;
     
    809810               if (((Asteroid*)objects[i])->hp <= 0) {
    810811                  removeObjectFromScene(*objects[i], ubo);
     812                  score++;
    811813               }
    812814            }
     
    22852287   */
    22862288
     2289   stringstream ssScore, ssFps;
     2290   ssScore << "Score: " << score;
     2291   ssFps << "FPS:   " << fps;
     2292
    22872293   {
    22882294      ImGui::SetNextWindowSize(ImVec2(95, 46), ImGuiCond_Once);
     
    22922298         ImGuiWindowFlags_NoResize |
    22932299         ImGuiWindowFlags_NoMove);
     2300<<<<<<< HEAD
     2301      ImGui::Text(ssScore.str().c_str());
     2302      ImGui::Text(ssFps.str().c_str());
     2303=======
    22942304      ImGui::Text("Score: ???");
    22952305      ImGui::Text("FPS:   %f", fps);
     2306>>>>>>> 446e55df316c547047dc0eb5c46189c6958dba21
    22962307      ImGui::End();
    22972308   }
Note: See TracChangeset for help on using the changeset viewer.