Changeset f133da0 in opengl-game for opengl-game.hpp


Ignore:
Timestamp:
Sep 16, 2019, 2:09:05 AM (5 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
c6fec84
Parents:
df2cc24
Message:

Add renderScene and renderUI functions to openglgame and use IMGUI to render the main menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • opengl-game.hpp

    rdf2cc24 rf133da0  
    11#ifndef _OPENGL_GAME_H
    22#define _OPENGL_GAME_H
     3
     4#include "IMGUI/imgui.h"
     5#include "imgui_impl_glfw_gl3.h"
    36
    47#include "game-gui-glfw.hpp"
     
    1821      void initOpenGL();
    1922      void mainLoop();
     23      void renderScene();
     24      void renderUI();
    2025      void cleanup();
    2126};
Note: See TracChangeset for help on using the changeset viewer.