goat3d

view src/camera.cc @ 52:cb5414f406eb

merged
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 17 Jan 2014 18:27:47 +0200
parents cd71f0b92f44
children dad392c710df
line source
1 #include "camera.h"
3 using namespace g3dimpl;
5 Camera::Camera()
6 {
7 near_clip = 0.5;
8 far_clip = 500.0;
9 }
11 TargetCamera::TargetCamera()
12 : target(0, 0, 0), up(0, 1, 0)
13 {
14 pos = Vector3(0, 0, 10);
15 }