X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fbatch.h;h=6950af894898b93bc576df783a7c9cb857635ac4;hp=9b2072de1f13d6f56e819a759fa3a1f6b3623491;hb=c6c4fc39952e372eba1f44f2bc504428140f3d0e;hpb=2508306f82675546be3c98e1eb556bae62ed2ccd diff --git a/source/batch.h b/source/batch.h index 9b2072de..6950af89 100644 --- a/source/batch.h +++ b/source/batch.h @@ -1,7 +1,7 @@ /* $Id$ This file is part of libmspgl -Copyright © 2007 Mikko Rasa, Mikkosoft Productions +Copyright © 2007, 2009-2010 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ @@ -39,6 +39,7 @@ public: Batch(PrimitiveType t); Batch &append(uint); void append(const std::vector &); + PrimitiveType get_type() const { return type; } unsigned size() const { return indices.size(); } const std::vector &get_indices() const { return indices; } void draw() const;