Blender V5.0
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
16 int verts_x, int verts_y, float size_x, float size_y, std::optional<StringRef> uv_map_id);
17
18} // namespace blender::geometry
struct Mesh Mesh
Mesh * create_grid_mesh(int verts_x, int verts_y, float size_x, float size_y, std::optional< StringRef > uv_map_id)