Blame projects/asteroid/scene.h

223ac6
223ac6
#ifndef SCENE_H
223ac6
#define SCENE_H
223ac6
223ac6
223ac6
#include "geometry.h"
223ac6
#include "mesh.h"
223ac6
223ac6
223ac6
class Scene {
223ac6
public:
223ac6
    unsigned int stars_seed;
223ac6
    Vector3 offset;
223ac6
    Vector3 angles;
223ac6
    bool wireframe;
223ac6
    Real water_level;
223ac6
    Real t;
223ac6
    
223ac6
    Mesh mesh;
223ac6
    Mesh sphere;
223ac6
    
223ac6
    Scene();
223ac6
    ~Scene();
223ac6
    
223ac6
    void update(Real dt);
223ac6
    
223ac6
    void generate();
223ac6
223ac6
    void draw_stars();
223ac6
    void draw();
223ac6
};
223ac6
223ac6
223ac6
#endif
223ac6
223ac6
223ac6
223ac6