- Timestamp:
- May 9, 2019, 1:56:28 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxWall.cc
r12346 r12350 29 29 30 30 31 void OrxoBloxWall::createWall( void){31 void OrxoBloxWall::createWall(){ 32 32 for (unsigned int i=0; i<this->num_Stones_;++i){ 33 33 unsigned int j=1 + static_cast<unsigned int>(rnd(2.0f)); //<! random number between 0 and 2; … … 35 35 this->size_ = 9.0f; 36 36 OrxoBloxStones* stone = new OrxoBloxStones(this->getContext()); 37 if (stone == nullptr) { 38 std::abort(); 39 } 37 40 this->TotalStones_.push_back(stone); 38 41 this->attach(stone); … … 56 59 57 60 } 61 62 this->num_Stones_ = TotalStones_.size(); 58 63 59 64
Note: See TracChangeset
for help on using the changeset viewer.