mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Mesh:setDrawRange now takes start and count parameters, instead of min and max.
--HG-- branch : minor
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user