Blender V4.5
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 int verts_x,
18 int verts_y,
19 int verts_z,
20 const std::optional<StringRef> &uv_id);
21
22Mesh *create_cuboid_mesh(const float3 &size, int verts_x, int verts_y, int verts_z);
23
24} // 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, const std::optional< StringRef > &uv_id)
VecBase< float, 3 > float3