Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 5ad61ce372
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (21 sloc) 0.496 kB
#ifndef SCENE_H
#define SCENE_H
#include <vector>
#include "geom/Planet.h"
class QGLShaderProgram;
class Camera;
class Scene {
public:
Scene();
virtual ~Scene();
void addBody(Planet& body);
std::vector<Planet>& getBodies();
void updateBodyDetails(Camera *cam);
void render(bool depthPass, float depthFocus);
void doTicks(int numTicks);
void clear();
private:
int m_time; // the scene time, in ticks
std::vector<Planet> m_bodies;
};
#endif // SCENE_H
Jump to Line
Something went wrong with that request. Please try again.