This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/geometry/GEO_mesh_primitive_cuboid.hh
Brecht Van Lommel 1e4cd98f0a Fix build error without unity build after recent changes
float3 should have been declared within the blender namespace. And forward
declaration is difficult with templated classes so just include header.
2022-05-13 17:55:54 +02:00

20 lines
385 B
C++

/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#include "BLI_math_vec_types.hh"
struct Mesh;
namespace blender {
namespace bke {
class AttributeIDRef;
}
} // namespace blender
namespace blender::geometry {
Mesh *create_cuboid_mesh(
const float3 &size, int verts_x, int verts_y, int verts_z, const bke::AttributeIDRef &uv_id);
} // namespace blender::geometry