summaryrefslogtreecommitdiff
path: root/scene/3d/camera.h
diff options
context:
space:
mode:
authorHubert Jarosz <marqin.pl@gmail.com>2016-03-09 00:00:52 +0100
committerHubert Jarosz <marqin.pl@gmail.com>2016-03-09 00:00:52 +0100
commit4a4f2479146aa33e235ed57cde311efda68d3c8f (patch)
treecf91f2869ff8f058c6682569fb31e22e5ee736ad /scene/3d/camera.h
parent1dad6eca812e5c2e313b54265114de8a1d73d999 (diff)
remove trailing whitespace
Diffstat (limited to 'scene/3d/camera.h')
-rw-r--r--scene/3d/camera.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/scene/3d/camera.h b/scene/3d/camera.h
index 02ca6ffb9a..30c6928245 100644
--- a/scene/3d/camera.h
+++ b/scene/3d/camera.h
@@ -41,7 +41,7 @@ class Camera : public Spatial {
OBJ_TYPE( Camera, Spatial );
public:
enum Projection {
-
+
PROJECTION_PERSPECTIVE,
PROJECTION_ORTHOGONAL
};
@@ -57,14 +57,14 @@ private:
bool current;
Projection mode;
-
+
float fov;
float size;
float near,far;
float v_offset;
float h_offset;
KeepAspect keep_aspect;
-
+
RID camera;
RID scenario_id;
@@ -86,14 +86,14 @@ protected:
void _update_camera();
virtual void _request_camera_update();
void _update_camera_mode();
-
+
bool _set(const StringName& p_name, const Variant& p_value);
bool _get(const StringName& p_name,Variant &r_ret) const;
void _get_property_list( List<PropertyInfo> *p_list) const;
void _notification(int p_what);
-
+
static void _bind_methods();
-
+
public:
enum {
@@ -104,7 +104,7 @@ public:
void set_perspective(float p_fovy_degrees, float p_z_near, float p_z_far);
void set_orthogonal(float p_size, float p_z_near, float p_z_far);
-
+
void make_current();
void clear_current();
bool is_current() const;
@@ -145,7 +145,7 @@ public:
float get_h_offset() const;
- Camera();
+ Camera();
~Camera();
};