Blender V4.3
mesh_primitive_cuboid.cc File Reference

Go to the source code of this file.

Classes

struct  blender::geometry::CuboidConfig
 

Namespaces

namespace  blender
 
namespace  blender::geometry
 

Functions

static void blender::geometry::calculate_positions (const CuboidConfig &config, MutableSpan< float3 > positions)
 
static void blender::geometry::define_quad (MutableSpan< int > corner_verts, const int loop_index, const int vert_1, const int vert_2, const int vert_3, const int vert_4)
 
static void blender::geometry::calculate_corner_verts (const CuboidConfig &config, MutableSpan< int > corner_verts)
 
static void blender::geometry::calculate_uvs (const CuboidConfig &config, Mesh *mesh, const StringRef uv_id)
 
Meshblender::geometry::create_cuboid_mesh (const float3 &size, int verts_x, int verts_y, int verts_z, const std::optional< StringRef > &uv_id)
 
Meshblender::geometry::create_cuboid_mesh (const float3 &size, int verts_x, int verts_y, int verts_z)