16 .
description(
"The surface area of each of the mesh's faces");
23 const Span<int> corner_verts = mesh.corner_verts();
25 auto area_fn = [positions,
faces, corner_verts](
const int i) ->
float {
29 return mesh.attributes().adapt_domain<
float>(
41 const AttrDomain domain,
60 return AttrDomain::Face;
#define BLT_I18NCONTEXT_AMOUNT
#define NOD_REGISTER_NODE(REGISTER_FUNC)
constexpr Span slice(int64_t start, int64_t size) const
static VArray ForFunc(const int64_t size, GetFunc get_func)
local_group_size(16, 16) .push_constant(Type b
draw_view in_light_buf[] float
float face_area_calc(Span< float3 > vert_positions, Span< int > face_verts)
void node_register_type(bNodeType *ntype)
void geo_node_type_base(blender::bke::bNodeType *ntype, int type, const char *name, short nclass)
unsigned __int64 uint64_t
NodeGeometryExecFunction geometry_node_execute
NodeDeclareFunction declare