This repository has been archived on 2020-03-09. You can view files and clone it, but cannot push or open issues or pull requests.
pg-tp4/scene.h

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