16 .
description(
N_(
"The surface area of each of the mesh's faces"));
23 if (
mesh ==
nullptr) {
27 auto area_fn = [
mesh](
const int i) ->
float {
32 return component.attributes()->adapt_domain<
float>(
typedef float(TangentPoint)[2]
@ GEO_COMPONENT_TYPE_MESH
float BKE_mesh_calc_poly_area(const struct MPoly *mpoly, const struct MLoop *loopstart, const struct MVert *mvarray)
#define GEO_NODE_INPUT_MESH_FACE_AREA
void nodeRegisterType(struct bNodeType *ntype)
static uint8 component(Color32 c, uint i)
static VArray ForFunc(const int64_t size, GetFunc get_func)
StringRefNull description() const
ccl_device_inline float4 mask(const int4 &mask, const float4 &a)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
void geo_node_type_base(bNodeType *ntype, int type, const char *name, short nclass)
unsigned __int64 uint64_t
NodeGeometryExecFunction geometry_node_execute
NodeDeclareFunction declare