You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Style: Various fixes to play nice with clang-format
This commit is contained in:
@@ -286,7 +286,8 @@ void EditorSpatialGizmo::add_handles(const Vector<Vector3> &p_handles, bool p_bi
|
||||
Vector<Vector3> normals;
|
||||
|
||||
int vtx_idx=0;
|
||||
#define ADD_VTX(m_idx);\
|
||||
|
||||
#define ADD_VTX(m_idx) \
|
||||
vertices.push_back( (face_points[m_idx]*HANDLE_HALF_SIZE+p_handles[ih]) );\
|
||||
normals.push_back( normal_points[m_idx] );\
|
||||
vtx_idx++;\
|
||||
@@ -3437,7 +3438,7 @@ SpatialEditorGizmos::SpatialEditorGizmos() {
|
||||
PoolVector<Vector3> vertices;
|
||||
|
||||
#undef ADD_VTX
|
||||
#define ADD_VTX(m_idx);\
|
||||
#define ADD_VTX(m_idx) \
|
||||
vertices.push_back( face_points[m_idx] );
|
||||
|
||||
for (int i=0;i<6;i++) {
|
||||
|
||||
Reference in New Issue
Block a user