[Renderer] Deleted, code moved to Application. [Transformable] Transformations are now applied to model matrix in applyTransform. [ResourceHandler|TextureLoader|XMLFile] Added. [Debug|Exception] Updated.
26 lines
603 B
C++
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;
|
|
}
|
|
|