Blender V4.3
GEO_mesh_primitive_grid.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include <optional>
8
9#include "BLI_string_ref.hh"
10
11struct Mesh;
12
13namespace blender::geometry {
14
15Mesh *create_grid_mesh(int verts_x,
16 int verts_y,
17 float size_x,
18 float size_y,
19 const std::optional<StringRef> &uv_map_id);
20
21} // namespace blender::geometry
Mesh * create_grid_mesh(int verts_x, int verts_y, float size_x, float size_y, const std::optional< StringRef > &uv_map_id)