goat3d

view src/camera.cc @ 25:d0260d80ae09

adding the nodes interface, and continuing the max plugin
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 28 Sep 2013 19:12:50 +0300
parents
children 498ca7ac7047
line source
1 #include "camera.h"
3 Camera::Camera()
4 {
5 near_clip = 0.5;
6 far_clip = 500.0;
7 }
9 TargetCamera::TargetCamera()
10 : target(0, 0, 0), up(0, 1, 0)
11 {
12 pos = Vector3(0, 0, 10);
13 }