goat3d
annotate src/camera.cc @ 39:0e48907847ad
slugishly progressing with the blender exporter
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 09 Oct 2013 16:40:59 +0300 |
parents | |
children | 498ca7ac7047 |
rev | line source |
---|---|
nuclear@8 | 1 #include "camera.h" |
nuclear@8 | 2 |
nuclear@8 | 3 Camera::Camera() |
nuclear@8 | 4 { |
nuclear@8 | 5 near_clip = 0.5; |
nuclear@8 | 6 far_clip = 500.0; |
nuclear@8 | 7 } |
nuclear@8 | 8 |
nuclear@8 | 9 TargetCamera::TargetCamera() |
nuclear@8 | 10 : target(0, 0, 0), up(0, 1, 0) |
nuclear@8 | 11 { |
nuclear@8 | 12 pos = Vector3(0, 0, 10); |
nuclear@8 | 13 } |