CacheManager constructor
Array of cached PlaneGeometry
Check if a given PlaneGeometry is already cached based on its .id | definition id
PlaneGeometry to check
Check if a given PlaneGeometry is already cached based on its definition id
Add a PlaneGeometry to our cache planeGeometries array
Destroy our CacheManager
Used to cache PlaneGeometry and avoid as many large array computations as possible.
Could be improved to handle other caches.