This repository has been archived on 2020-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Files
IndoorMap/mapview/3D/misc/Cube.h
2018-10-25 12:23:40 +02:00

43 lines
772 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* © 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 <Indoor/geo/Point3.h>
#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