Start cleaning Grid class.
This commit is contained in:
parent
4fbe6279d1
commit
d4bb2b2744
27 changed files with 306 additions and 191 deletions
|
@ -9,9 +9,9 @@ class GridNode : public MaterialNode
|
|||
public:
|
||||
GridNode(const Point& location);
|
||||
|
||||
void setNumX(unsigned numX);
|
||||
void setNumX(std::size_t numX);
|
||||
|
||||
void setNumY(unsigned numY);
|
||||
void setNumY(std::size_t numY);
|
||||
|
||||
void setData(const std::vector<Color>& colors);
|
||||
|
||||
|
@ -24,8 +24,8 @@ public:
|
|||
void setHeight(double height);
|
||||
|
||||
private:
|
||||
unsigned mNumberX{5};
|
||||
unsigned mNumberY{5};
|
||||
std::size_t mNumberX{5};
|
||||
std::size_t mNumberY{5};
|
||||
double mWidth{1};
|
||||
double mHeight{1};
|
||||
bool mDataDirty = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue