Blender Git Loki

Git Commits -> Revision 5ad4ca4

Revision 5ad4ca4 by Johnny Matthews (master)
November 22, 2021, 18:07 (GMT)
CurveEval: Add total_length() and total_control_point_size() methods

Add the following methods to the CurveEval class:
total_length() : returns the total length of the curve without needing to
allocate a new array
total_control_point_size() : returns the total number of control points without
needing to allocate a new array

Commit Details:

Full Hash: 5ad4ca4e02236dbd2a188789bfef196c62d9047e
Parent Commit: 0129178
Lines Changed: +21, -0

2 Modified Paths:

/source/blender/blenkernel/BKE_spline.hh (+3, -0) (Diff)
/source/blender/blenkernel/intern/curve_eval.cc (+18, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021