// Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause #ifndef GEOMETRYENGINE_H #define GEOMETRYENGINE_H #include #include #include class GeometryEngine : protected QOpenGLFunctions { public: GeometryEngine(); virtual ~GeometryEngine(); void drawCubeGeometry(QOpenGLShaderProgram *program); private: void initCubeGeometry(); QOpenGLBuffer arrayBuf; QOpenGLBuffer indexBuf; }; #endif // GEOMETRYENGINE_H