Ignore:
Timestamp:
May 12, 2012, 5:55:47 PM (8 years ago)
Author:
touky
Message:

Added some convenient functions in camera.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/camera.h

    r1353 r1375  
    3535    void SetPerspective(float fov, float width, float height,
    3636                        float near, float far);
     37    void SetTarget(vec3 const &pos);
     38    vec3 GetTarget();
    3739
    3840    mat4 const &GetViewMatrix();
Note: See TracChangeset for help on using the changeset viewer.