Ignore:
Timestamp:
May 1, 2012, 3:40:56 PM (8 years ago)
Author:
sam
Message:

core: move some of the camera view logic from the Video class to the
Scene and Camera classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/scene.h

    r1198 r1325  
    2929{
    3030public:
    31     Scene(float angle);
     31    Scene();
    3232    ~Scene();
    3333
    3434    static Scene *GetDefault();
    35     static void Reset();
    3635
     36    void SetViewMatrix(mat4 const &m);
     37    void SetProjMatrix(mat4 const &m);
     38    mat4 const &GetViewMatrix(void);
     39    mat4 const &GetProjMatrix(void);
     40
     41    void Reset();
     42    void Render();
     43
     44    /* FIXME: this should be deprecated -- it doesn't really match
     45     * the architecture we want to build */
    3746    void AddTile(TileSet *tileset, int id, vec3 pos, int o, vec2 scale);
    38     void Render();
    3947
    4048private:
Note: See TracChangeset for help on using the changeset viewer.