|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
inlinenoexcept |
Area-weighted centroid of the triangles of an indexed mesh.
Each triangle contributes its own centroid weighted by its area, so dense tessellation does not pull the result the way a vertex mean does. A triangle with an index outside bytes is skipped.
| bytes | Interleaved vertex records. |
| stride | Bytes per record. |
| offset | Byte offset of the vec3 position within a record. |
| indices | Triangle list, three indices per face. |
Definition at line 204 of file Morphology.hpp.
References a, b, centroid(), indices, offset, position_at(), and total.
Here is the call graph for this function: