Cleanup: Add a bit more detail to curves offsets comment

This commit is contained in:
Hans Goudey 2022-12-12 13:40:06 -06:00
parent e4f9c50928
commit 42def76831
1 changed files with 3 additions and 3 deletions

View File

@ -97,10 +97,10 @@ typedef struct CurvesGeometry {
* this array is allocated with a length one larger than the number of curves. This is allowed
* to be null when there are no curves.
*
* Every curve offset must be at least one larger than the previous.
* In other words, every curve must have at least one point.
* 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.
*
* \note This is *not* stored in #CustomData because its size is one larger than #curve_data.
* \note This is *not* stored as an attribute because its size is one larger than #curve_num.
*/
int *curve_offsets;