OpenMiner/source/resource/ResourceHandler.cpp
Quentin Bazin fb3f7f0501 Lot of changes. [...]
[Renderer] Deleted, code moved to Application.
[Transformable] Transformations are now applied to model matrix in applyTransform.
[ResourceHandler|TextureLoader|XMLFile] Added.
[Debug|Exception] Updated.
2018-06-21 05:45:17 +02:00

26 lines
603 B
C++

/*
* =====================================================================================
*
* Filename: ResourceHandler.cpp
*
* Description:
*
* Created: 17/01/2018 19:30:47
*
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/
#include "ResourceHandler.hpp"
ResourceHandler *ResourceHandler::instance = nullptr;
ResourceHandler &ResourceHandler::getInstance() {
return *instance;
}
void ResourceHandler::setInstance(ResourceHandler &handler) {
instance = &handler;
}