Style: Set clang-format Standard to Cpp11
For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
This commit is contained in:
@ -142,11 +142,11 @@ public:
|
||||
Size2 get_lightmap_size_hint() const;
|
||||
void clear_cache() const;
|
||||
|
||||
typedef Vector<Vector<Face3> > (*ConvexDecompositionFunc)(const Vector<Face3> &);
|
||||
typedef Vector<Vector<Face3>> (*ConvexDecompositionFunc)(const Vector<Face3> &);
|
||||
|
||||
static ConvexDecompositionFunc convex_composition_function;
|
||||
|
||||
Vector<Ref<Shape> > convex_decompose() const;
|
||||
Vector<Ref<Shape>> convex_decompose() const;
|
||||
|
||||
Mesh();
|
||||
};
|
||||
@ -193,7 +193,7 @@ protected:
|
||||
public:
|
||||
void add_surface_from_arrays(PrimitiveType p_primitive, const Array &p_arrays, const Array &p_blend_shapes = Array(), const Dictionary &p_lods = Dictionary(), uint32_t p_flags = ARRAY_COMPRESS_DEFAULT);
|
||||
|
||||
void add_surface(uint32_t p_format, PrimitiveType p_primitive, const Vector<uint8_t> &p_array, int p_vertex_count, const Vector<uint8_t> &p_index_array, int p_index_count, const AABB &p_aabb, const Vector<Vector<uint8_t> > &p_blend_shapes = Vector<Vector<uint8_t> >(), const Vector<AABB> &p_bone_aabbs = Vector<AABB>(), const Vector<VS::SurfaceData::LOD> &p_lods = Vector<VS::SurfaceData::LOD>());
|
||||
void add_surface(uint32_t p_format, PrimitiveType p_primitive, const Vector<uint8_t> &p_array, int p_vertex_count, const Vector<uint8_t> &p_index_array, int p_index_count, const AABB &p_aabb, const Vector<Vector<uint8_t>> &p_blend_shapes = Vector<Vector<uint8_t>>(), const Vector<AABB> &p_bone_aabbs = Vector<AABB>(), const Vector<VS::SurfaceData::LOD> &p_lods = Vector<VS::SurfaceData::LOD>());
|
||||
|
||||
Array surface_get_arrays(int p_surface) const;
|
||||
Array surface_get_blend_shape_arrays(int p_surface) const;
|
||||
|
||||
Reference in New Issue
Block a user