// // GeometryCache.h // interface // // Created by Andrzej Kapolka on 6/21/13. // Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // #ifndef __interface__GeometryCache__ #define __interface__GeometryCache__ #include #include "InterfaceConfig.h" class GeometryCache { public: ~GeometryCache(); void renderHemisphere(int slices, int stacks); void renderSquare(int xDivisions, int yDivisions); void renderHalfCylinder(int slices, int stacks); private: typedef QPair IntPair; typedef QPair VerticesIndices; QHash _hemisphereVBOs; QHash _squareVBOs; QHash _halfCylinderVBOs; }; #endif /* defined(__interface__GeometryCache__) */