| 366 | } |
| 367 | |
| 368 | const glm::mat4 Widget::getOrientationMatrix(const CellIndex& pIndex) |
| 369 | { |
| 370 | if (mOrientMatrices.find(pIndex)==mOrientMatrices.end()) { |
| 371 | mOrientMatrices.emplace(pIndex, IDENTITY); |
| 372 | } |
| 373 | return mOrientMatrices[pIndex]; |
| 374 | } |
| 375 | |
| 376 | } |
| 377 | } |