Showing the changes to libraries/render-utils/src/GeometryCache.cpp (1 of 16 files). Show all
Unified · Split
| @@ -21,6 +21,11 @@ · 20 unmodified lines | ||
| 21 | 21 | |
| 22 | 22 | #include "GeometryCache.h" |
| 23 | 23 | |
| 24 | +GeometryCache* GeometryCache::getInstance() { | |
| 25 | + static GeometryCache instance; | |
| 26 | + return &instance; | |
| 27 | +} | |
| 28 | + | |
| 24 | 29 | GeometryCache::GeometryCache() { |
| 25 | 30 | } |
| 26 | 31 | |