Open source Star Ruler 2 source code!

This commit is contained in:
Lucas de Vries
2018-07-17 14:15:37 +02:00
commit cc307720ff
4342 changed files with 2365070 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#pragma once
#include "aabbox.h"
struct Mesh;
namespace render {
class RenderMesh {
public:
virtual void resetToMesh(const Mesh& mesh) = 0;
virtual const RenderMesh* selectLOD(double distance) const = 0;
virtual void setLOD(double distance, const RenderMesh* mesh) = 0;
virtual const AABBoxf& getBoundingBox() const = 0;
virtual const Mesh& getMesh() const = 0;
virtual unsigned getMeshBytes() const = 0;
virtual void render() const = 0;
virtual ~RenderMesh() {}
};
};