glfw/examples/DeferredRendering/Model/PlaneModel.h
2017-09-22 11:01:51 +08:00

20 lines
290 B
C++

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