Blender V5.0
GEO_mesh_primitive_cuboid.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
10#include "BLI_string_ref.hh"
11
12struct Mesh;
13
14namespace blender::geometry {
15
17 const float3 &size, int verts_x, int verts_y, int verts_z, std::optional<StringRef> uv_id);
18
19Mesh *create_cuboid_mesh(const float3 &size, int verts_x, int verts_y, int verts_z);
20
21} // namespace blender::geometry
struct Mesh Mesh
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
Definition btDbvt.cpp:52
Mesh * create_cuboid_mesh(const float3 &size, int verts_x, int verts_y, int verts_z, std::optional< StringRef > uv_id)
VecBase< float, 3 > float3