Changeset 1375
- Timestamp:
- May 12, 2012, 5:55:47 PM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/camera.cpp
r1362 r1375 62 62 } 63 63 64 void Camera::SetTarget(vec3 const &pos) 65 { 66 m_target = pos; 67 } 68 69 vec3 Camera::GetTarget() 70 { 71 return m_target; 72 } 73 64 74 mat4 const &Camera::GetViewMatrix() 65 75 { -
trunk/src/camera.h
r1353 r1375 35 35 void SetPerspective(float fov, float width, float height, 36 36 float near, float far); 37 void SetTarget(vec3 const &pos); 38 vec3 GetTarget(); 37 39 38 40 mat4 const &GetViewMatrix();
Note: See TracChangeset
for help on using the changeset viewer.