23 lines
351 B
C++
23 lines
351 B
C++
#ifndef SCENE_H
|
|
#define SCENE_H
|
|
|
|
#include <QMatrix4x4>
|
|
#include <cylinder.h>
|
|
#include <QOpenGLFunctions>
|
|
#include <QOpenGLShaderProgram>
|
|
|
|
|
|
class Scene
|
|
{
|
|
public:
|
|
Scene();
|
|
void draw(QOpenGLFunctions &f, QOpenGLShaderProgram *prog, int mat_uni,
|
|
float alpha, QMatrix4x4 &matrix, int vertices, int colors);
|
|
|
|
private:
|
|
Cylinder cylindre;
|
|
};
|
|
|
|
|
|
#endif
|