Ignore:
Timestamp:
May 8, 2012, 10:04:00 PM (8 years ago)
Author:
sam
Message:

core: add methods to set the camera's view matrix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/camera.h

    r1310 r1350  
    3131
    3232    void SetPosition(vec3 const &pos);
     33    void SetOrtho(float width, float height, float near, float far);
     34    void SetPerspective(float fov, float width, float height,
     35                        float near, float far);
    3336
    3437    mat4 const &GetViewMatrix();
Note: See TracChangeset for help on using the changeset viewer.