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

Added some convenient functions in camera.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/camera.cpp

    r1362 r1375  
    6262}
    6363
     64void Camera::SetTarget(vec3 const &pos)
     65{
     66    m_target = pos;
     67}
     68
     69vec3 Camera::GetTarget()
     70{
     71    return m_target;
     72}
     73
    6474mat4 const &Camera::GetViewMatrix()
    6575{
Note: See TracChangeset for help on using the changeset viewer.