summaryrefslogtreecommitdiff
path: root/scene/resources/mesh.h
diff options
context:
space:
mode:
authorYuri Rubinsky <chaosus89@gmail.com>2022-09-02 17:38:40 +0300
committerYuri Rubinsky <chaosus89@gmail.com>2022-09-02 18:08:43 +0300
commit1241c4b6baeb2015e692dd7395cdfbaf2ef80c3d (patch)
tree4d0d89ba48f791c2a7f05ba8bf6d6f7dd48f7f8a /scene/resources/mesh.h
parent6ccbc2709323c3f77f9509dcf55edad6d46e2a7c (diff)
Revert usage of typed array in `add_surface_from_arrays` parameters
Diffstat (limited to 'scene/resources/mesh.h')
-rw-r--r--scene/resources/mesh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/mesh.h b/scene/resources/mesh.h
index 5fb9dc92b4..5ed4164117 100644
--- a/scene/resources/mesh.h
+++ b/scene/resources/mesh.h
@@ -265,7 +265,7 @@ protected:
static void _bind_methods();
public:
- void add_surface_from_arrays(PrimitiveType p_primitive, const TypedArray<Array> &p_arrays, const TypedArray<Array> &p_blend_shapes = TypedArray<Array>(), const Dictionary &p_lods = Dictionary(), uint32_t p_flags = 0);
+ void add_surface_from_arrays(PrimitiveType p_primitive, const Array &p_arrays, const TypedArray<Array> &p_blend_shapes = TypedArray<Array>(), const Dictionary &p_lods = Dictionary(), uint32_t p_flags = 0);
void add_surface(uint32_t p_format, PrimitiveType p_primitive, const Vector<uint8_t> &p_array, const Vector<uint8_t> &p_attribute_array, const Vector<uint8_t> &p_skin_array, int p_vertex_count, const Vector<uint8_t> &p_index_array, int p_index_count, const AABB &p_aabb, const Vector<uint8_t> &p_blend_shape_data = Vector<uint8_t>(), const Vector<AABB> &p_bone_aabbs = Vector<AABB>(), const Vector<RS::SurfaceData::LOD> &p_lods = Vector<RS::SurfaceData::LOD>());