Files
test/source/blender/geometry/GEO_mesh_primitive_grid.hh
илья _ 4b88e3dbdd Cleanup: Pass optional constant string reference by value
Small constant trivial referencing objects should be passed by value.
Current state of code most likely legacy from the times there was an optional strings.

Pull Request: https://projects.blender.org/blender/blender/pulls/138058
2025-06-16 20:34:32 +02:00

19 lines
364 B
C++

/* SPDX-FileCopyrightText: 2023 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#include <optional>
#include "BLI_string_ref.hh"
struct Mesh;
namespace blender::geometry {
Mesh *create_grid_mesh(
int verts_x, int verts_y, float size_x, float size_y, std::optional<StringRef> uv_map_id);
} // namespace blender::geometry