charcoal/OpenGLEngine/MyApplication.h
elipzer 75357b330c Added Dependency: GLM
Now using GLM instead of the custom math libraries.
Sadly, this did not 100% fix the problem at hand but it does give
some closure that the math is not the problem.

Also it will be nice to have a general math library to not have to
deal with creating every math function every time.
2018-09-09 21:20:56 -04:00

31 lines
544 B
C++

#pragma once
#include "Application.h"
#include "MySimpleScene.h"
#include "MyObjectOrientedScene.h"
#include "My3DScene.h"
class MyApplication :
public Application
{
public:
MyApplication(int width = -1, int height = -1);
void init() override;
void update(float delta_time, clock_t clock) override;
void render() override;
void close() override;
private:
void swap_scene(Scene* scene);
Scene* m_p_current_scene = nullptr;
MySimpleScene m_simple_scene;
MyObjectOrientedScene m_object_oriented_scene;
My3DScene m_3d_scene;
};