/* * © Copyright 2014 – Urheberrechtshinweis * Alle Rechte vorbehalten / All Rights Reserved * * Programmcode ist urheberrechtlich geschuetzt. * Das Urheberrecht liegt, soweit nicht ausdruecklich anders gekennzeichnet, bei Frank Ebner. * Keine Verwendung ohne explizite Genehmigung. * (vgl. § 106 ff UrhG / § 97 UrhG) */ #ifndef CUBE_H #define CUBE_H #include "../../../fixC11.h" #include #include "Renderable3D.h" class Shader; class Cube : public Renderable3D { private: Point3 pos; Point3 size; Point3 rot; Point3 color; public: Cube(Point3 pos, float size); Cube(Point3 pos, Point3 size, Point3 rot); void setColor(float r, float g, float b); void render(const RenderSettings& rs) override; }; #endif // CUBE_H