Blender  V3.3
Classes | Namespaces | Functions
mesh_primitive_cuboid.cc File Reference
#include "BLI_index_range.hh"
#include "BLI_math_vector.h"
#include "BLI_math_vector.hh"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "BKE_geometry_set.hh"
#include "BKE_mesh.h"
#include "GEO_mesh_primitive_cuboid.hh"

Go to the source code of this file.

Classes

struct  blender::geometry::CuboidConfig
 

Namespaces

 blender
 
 blender::geometry
 

Functions

static void blender::geometry::calculate_vertices (const CuboidConfig &config, MutableSpan< MVert > verts)
 
static void blender::geometry::define_quad (MutableSpan< MPoly > polys, MutableSpan< MLoop > loops, const int poly_index, 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_polys (const CuboidConfig &config, MutableSpan< MPoly > polys, MutableSpan< MLoop > loops)
 
static void blender::geometry::calculate_uvs (const CuboidConfig &config, Mesh *mesh, const bke::AttributeIDRef &uv_id)
 
Meshblender::geometry::create_cuboid_mesh (const float3 &size, int verts_x, int verts_y, int verts_z, const bke::AttributeIDRef &uv_id)
 
Meshblender::geometry::create_cuboid_mesh (const float3 &size, int verts_x, int verts_y, int verts_z)