You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
This commit is contained in:
@@ -46,7 +46,6 @@ class ViewportContainer;
|
||||
class SpatialEditorViewport;
|
||||
|
||||
class EditorSpatialGizmo : public SpatialGizmo {
|
||||
|
||||
GDCLASS(EditorSpatialGizmo, SpatialGizmo);
|
||||
|
||||
bool selected;
|
||||
@@ -57,7 +56,6 @@ public:
|
||||
bool is_selected() const { return selected; }
|
||||
|
||||
struct Instance {
|
||||
|
||||
RID instance;
|
||||
Ref<ArrayMesh> mesh;
|
||||
Ref<Material> material;
|
||||
@@ -68,7 +66,6 @@ public:
|
||||
bool can_intersect;
|
||||
bool extra_margin;
|
||||
Instance() {
|
||||
|
||||
billboard = false;
|
||||
unscaled = false;
|
||||
can_intersect = false;
|
||||
@@ -179,7 +176,6 @@ public:
|
||||
};
|
||||
|
||||
class SpatialEditorViewport : public Control {
|
||||
|
||||
GDCLASS(SpatialEditorViewport, Control);
|
||||
friend class SpatialEditor;
|
||||
friend class ViewportRotationControl;
|
||||
@@ -279,7 +275,6 @@ private:
|
||||
Label *fps_label;
|
||||
|
||||
struct _RayResult {
|
||||
|
||||
Spatial *item;
|
||||
float depth;
|
||||
int handle;
|
||||
@@ -369,7 +364,6 @@ private:
|
||||
} _edit;
|
||||
|
||||
struct Cursor {
|
||||
|
||||
Vector3 pos;
|
||||
float x_rot, y_rot, distance;
|
||||
Vector3 eye_pos; // Used in freelook mode
|
||||
@@ -473,7 +467,6 @@ public:
|
||||
};
|
||||
|
||||
class SpatialEditorSelectedItem : public Object {
|
||||
|
||||
GDCLASS(SpatialEditorSelectedItem, Object);
|
||||
|
||||
public:
|
||||
@@ -494,7 +487,6 @@ public:
|
||||
};
|
||||
|
||||
class SpatialEditorViewportContainer : public Container {
|
||||
|
||||
GDCLASS(SpatialEditorViewportContainer, Container);
|
||||
|
||||
public:
|
||||
@@ -535,7 +527,6 @@ public:
|
||||
};
|
||||
|
||||
class SpatialEditor : public VBoxContainer {
|
||||
|
||||
GDCLASS(SpatialEditor, VBoxContainer);
|
||||
|
||||
public:
|
||||
@@ -616,7 +607,6 @@ private:
|
||||
AABB preview_bounds;
|
||||
|
||||
struct Gizmo {
|
||||
|
||||
bool visible;
|
||||
float scale;
|
||||
Transform transform;
|
||||
@@ -807,7 +797,6 @@ public:
|
||||
};
|
||||
|
||||
class SpatialEditorPlugin : public EditorPlugin {
|
||||
|
||||
GDCLASS(SpatialEditorPlugin, EditorPlugin);
|
||||
|
||||
SpatialEditor *spatial_editor;
|
||||
@@ -837,7 +826,6 @@ public:
|
||||
};
|
||||
|
||||
class EditorSpatialGizmoPlugin : public Resource {
|
||||
|
||||
GDCLASS(EditorSpatialGizmoPlugin, Resource);
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user