goat3d

annotate src/camera.h @ 29:3d669155709d

- switched the unix build to use the internal vmath/anim as well - fixed a memory corruption issue which was caused by including the system-wide installed version of the anim.h header file - started the ass2goat assimp->goat3d converter
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 29 Sep 2013 21:53:03 +0300
parents 2918358f5e6d
children 498ca7ac7047
rev   line source
nuclear@0 1 #ifndef CAMERA_H_
nuclear@0 2 #define CAMERA_H_
nuclear@0 3
nuclear@8 4 #include "object.h"
nuclear@8 5
nuclear@8 6 class Camera : public Object {
nuclear@8 7 public:
nuclear@8 8 float near_clip, far_clip;
nuclear@8 9
nuclear@8 10 Camera();
nuclear@8 11 };
nuclear@8 12
nuclear@8 13 class TargetCamera : public Camera {
nuclear@8 14 public:
nuclear@8 15 Vector3 target, up;
nuclear@8 16
nuclear@8 17 TargetCamera();
nuclear@0 18 };
nuclear@0 19
nuclear@0 20 #endif // CAMERA_H_