| 358 | } |
| 359 | |
| 360 | const glm::mat4 Widget::getViewMatrix(const CellIndex& pIndex) |
| 361 | { |
| 362 | if (mViewMatrices.find(pIndex)==mViewMatrices.end()) { |
| 363 | mViewMatrices.emplace(pIndex, IDENTITY); |
| 364 | } |
| 365 | return mViewMatrices[pIndex]; |
| 366 | } |
| 367 | |
| 368 | const glm::mat4 Widget::getOrientationMatrix(const CellIndex& pIndex) |
| 369 | { |