goat3d

annotate src/camera.cc @ 57:76d0f55f9d5f

mesh and animation saving looks done...
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 23 Jan 2014 03:57:15 +0200
parents cd71f0b92f44
children dad392c710df
rev   line source
nuclear@8 1 #include "camera.h"
nuclear@8 2
nuclear@47 3 using namespace g3dimpl;
nuclear@47 4
nuclear@8 5 Camera::Camera()
nuclear@8 6 {
nuclear@8 7 near_clip = 0.5;
nuclear@8 8 far_clip = 500.0;
nuclear@8 9 }
nuclear@8 10
nuclear@8 11 TargetCamera::TargetCamera()
nuclear@8 12 : target(0, 0, 0), up(0, 1, 0)
nuclear@8 13 {
nuclear@8 14 pos = Vector3(0, 0, 10);
nuclear@8 15 }