glfw/examples/ShadowMaps/source/Model/CubeModel.h
2017-09-22 11:01:51 +08:00

20 lines
294 B
C++

#pragma once
#include "IModel.h"
/**
* A simple cube model that is easy to render
*/
class CubeModel : public IModel
{
public:
// Methods
CubeModel(const std::string& sVSFileName, const std::string& sFSFileName, float side);
void render() const;
protected:
// Fields
float m_side;
};