Cleanup: Correct two curves and mesh comments
This commit is contained in:
@@ -109,7 +109,7 @@ typedef struct CurvesGeometry {
|
||||
* Every curve offset must be at least one larger than the previous. In other words, every curve
|
||||
* must have at least one point. The first value is 0 and the last value is #point_num.
|
||||
*
|
||||
* This array is shared based on the bke::MeshRuntime::poly_offsets_sharing_info.
|
||||
* This array is shared based on the bke::CurvesGeometryRuntime::curve_offsets_sharing_info.
|
||||
* Avoid accessing directly when possible.
|
||||
*
|
||||
* \note This is *not* stored as an attribute because its size is one larger than #curve_num.
|
||||
|
||||
@@ -265,9 +265,9 @@ typedef struct Mesh {
|
||||
* Array of vertices for every face corner, stored in the ".corner_vert" integer attribute.
|
||||
* For example, the vertices in a face can be retrieved with the #slice method:
|
||||
* \code{.cc}
|
||||
* const Span<int> poly_verts = corner_verts.slice(poly.loopstart, poly.totloop);
|
||||
* const Span<int> poly_verts = corner_verts.slice(poly);
|
||||
* \endcode
|
||||
* Such a span can often be passed as an argument in lieu of a polygon and the entire corner
|
||||
* Such a span can often be passed as an argument in lieu of a polygon or the entire corner
|
||||
* verts array.
|
||||
*/
|
||||
blender::Span<int> corner_verts() const;
|
||||
|
||||
Reference in New Issue
Block a user