rayzor

diff src/camera.h @ 1:a826bf0fb169

fixed line endings
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 05 Apr 2014 09:05:26 +0300
parents 2a5340a6eee4
children d94a69933a71
line diff
     1.1 --- a/src/camera.h	Sat Apr 05 08:46:27 2014 +0300
     1.2 +++ b/src/camera.h	Sat Apr 05 09:05:26 2014 +0300
     1.3 @@ -1,28 +1,28 @@
     1.4 -#ifndef CAMERA_H_
     1.5 -#define CAMERA_H_
     1.6 -
     1.7 -#include "vmath.h"
     1.8 -
     1.9 -class Camera {
    1.10 -private:
    1.11 -	Vector3 pos;
    1.12 -	Vector3 target;
    1.13 -	float fov;
    1.14 -
    1.15 -public:
    1.16 -	Camera();
    1.17 -
    1.18 -	void set_position(const Vector3 &pos);
    1.19 -	const Vector3 &get_position() const;
    1.20 -
    1.21 -	void set_target(const Vector3 &target);
    1.22 -	const Vector3 &get_target() const;
    1.23 -
    1.24 -	void set_fov(float fov);
    1.25 -	float get_fov() const;
    1.26 -
    1.27 -	Matrix4x4 get_matrix() const;
    1.28 -	Matrix4x4 get_inv_matrix() const;
    1.29 -};
    1.30 -
    1.31 -#endif	// CAMERA_H_
    1.32 +#ifndef CAMERA_H_
    1.33 +#define CAMERA_H_
    1.34 +
    1.35 +#include "vmath.h"
    1.36 +
    1.37 +class Camera {
    1.38 +private:
    1.39 +	Vector3 pos;
    1.40 +	Vector3 target;
    1.41 +	float fov;
    1.42 +
    1.43 +public:
    1.44 +	Camera();
    1.45 +
    1.46 +	void set_position(const Vector3 &pos);
    1.47 +	const Vector3 &get_position() const;
    1.48 +
    1.49 +	void set_target(const Vector3 &target);
    1.50 +	const Vector3 &get_target() const;
    1.51 +
    1.52 +	void set_fov(float fov);
    1.53 +	float get_fov() const;
    1.54 +
    1.55 +	Matrix4x4 get_matrix() const;
    1.56 +	Matrix4x4 get_inv_matrix() const;
    1.57 +};
    1.58 +
    1.59 +#endif	// CAMERA_H_