Bit more clean up of cameras
This commit is contained in:
parent
b03ad0ac2d
commit
b85a6aed7b
2 changed files with 15 additions and 13 deletions
|
@ -14,11 +14,12 @@
|
|||
#include "object.h"
|
||||
|
||||
|
||||
class Camera
|
||||
struct Camera
|
||||
: public Object
|
||||
{
|
||||
public:
|
||||
Camera();
|
||||
Camera(const Camera& other);
|
||||
virtual ~Camera();
|
||||
|
||||
const Vector3 &get_direction() const;
|
||||
|
@ -35,7 +36,7 @@ public:
|
|||
|
||||
private:
|
||||
/** A normalized vector defining where the camera is pointed. */
|
||||
Vector3 direction;
|
||||
Vector3 mDirection;
|
||||
|
||||
/**
|
||||
* A vector defining the width of the camera's image plane. The ratio of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue