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
19 lines
364 B
C++
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
|