goat3d

diff src/camera.cc @ 8:cd71f0b92f44

a bit more...
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 21 Aug 2013 05:52:28 +0300
parents
children 498ca7ac7047
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/camera.cc	Wed Aug 21 05:52:28 2013 +0300
     1.3 @@ -0,0 +1,13 @@
     1.4 +#include "camera.h"
     1.5 +
     1.6 +Camera::Camera()
     1.7 +{
     1.8 +	near_clip = 0.5;
     1.9 +	far_clip = 500.0;
    1.10 +}
    1.11 +
    1.12 +TargetCamera::TargetCamera()
    1.13 +	: target(0, 0, 0), up(0, 1, 0)
    1.14 +{
    1.15 +	pos = Vector3(0, 0, 10);
    1.16 +}