Mesh:setDrawRange now takes start and count parameters, instead of min and max.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2016-09-21 19:44:53 -03:00
parent cc0cfac66c
commit 7ab76b1ef6
3 changed files with 45 additions and 41 deletions
+4 -4
View File
@@ -190,9 +190,9 @@ public:
void setDrawMode(DrawMode mode);
DrawMode getDrawMode() const;
void setDrawRange(int min, int max);
void setDrawRange(int start, int count);
void setDrawRange();
void getDrawRange(int &min, int &max) const;
bool getDrawRange(int &start, int &count) const;
int bindAttributeToShaderInput(int attributeindex, const std::string &inputname);
@@ -252,8 +252,8 @@ private:
DrawMode drawMode;
int rangeMin;
int rangeMax;
int rangeStart;
int rangeCount;
StrongRef<Texture> texture;