goat3d

annotate src/camera.h @ 58:d317eb4f83da

- made everything compile properly on windows again - removed libanim/libvmath, we'll use them as external dependencies - added new maxgoat_stub 3dsmax plugin project. Gets loaded as a max plugin and loads the actual maxgoat (and later maxgoat_anim) exporters on demand, to allow reloading the actual exporters without having to restart 3dsmax (which takes AGES).
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 25 Mar 2014 03:19:55 +0200
parents cd71f0b92f44
children dad392c710df
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@47 6 namespace g3dimpl {
nuclear@47 7
nuclear@8 8 class Camera : public Object {
nuclear@8 9 public:
nuclear@8 10 float near_clip, far_clip;
nuclear@8 11
nuclear@8 12 Camera();
nuclear@8 13 };
nuclear@8 14
nuclear@8 15 class TargetCamera : public Camera {
nuclear@8 16 public:
nuclear@8 17 Vector3 target, up;
nuclear@8 18
nuclear@8 19 TargetCamera();
nuclear@0 20 };
nuclear@0 21
nuclear@47 22 } // namespace g3dimpl
nuclear@47 23
nuclear@0 24 #endif // CAMERA_H_