#include <msp/datafile/objectloader.h>
#include "batch.h"
#include "vertexarray.h"
+#include "windingtest.h"
namespace Msp {
namespace GL {
private:
void vertices(VertexFormat);
void batch(PrimitiveType);
+ void winding(FaceWinding);
};
private:
std::list<Batch> batches;
Buffer *ibuf;
bool defer_ibuf;
+ const WindingTest *winding;
public:
Mesh();
void add_batch(const Batch &b);
const std::list<Batch> &get_batches() { return batches; }
+ void set_winding(const WindingTest *);
+
void draw() const;
void draw(Renderer &) const;
};