Changeset 6454 in orxonox.OLD for trunk/src/lib/graphics/importer/grid.h
- Timestamp:
- Jan 9, 2006, 11:20:37 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/grid.h
r6446 r6454 21 21 virtual ~Grid(); 22 22 23 void setSizeX(float sizeX) { this->_sizeX = sizeX; };24 void setSizeY(float sizeY) { this->_sizeY = sizeY; };25 26 23 float sizeX() const { return this->_sizeX; }; 27 24 float sizeY() const { return this->_sizeY; }; … … 29 26 unsigned int columns() const { return this->_columns; }; 30 27 31 float& height(unsigned int row, unsigned int column) ;28 float& height(unsigned int row, unsigned int column) { return this->vertex(row*_columns + row).y;}; 32 29 33 30 private:
Note: See TracChangeset
for help on using the changeset viewer.