Blender V5.0
mesh_primitive_grid.cc File Reference
#include "BKE_attribute.hh"
#include "BKE_mesh.hh"
#include "GEO_mesh_primitive_grid.hh"

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::geometry

Functions

static void blender::geometry::calculate_uvs (Mesh *mesh, const Span< float3 > positions, const Span< int > corner_verts, const float size_x, const float size_y, const StringRef uv_map_id)
Meshblender::geometry::create_grid_mesh (int verts_x, int verts_y, float size_x, float size_y, std::optional< StringRef > uv_map_id)