Various enhancement of the curves (see issue 968) :
- less memory required (512 KB less) - isIdentity() method has to be used by developers to let the user preselect a curve type without processing overhead - faster NURBS getVal(float t) method, by using a hash table
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
// For compatibility and simplicity reason, order shouldn't change, and must be identical to the order specified in the curveType widget
|
||||
enum FlatCurveType {
|
||||
FCT_Empty = -1,
|
||||
FCT_Empty = -1, // Also used for identity curves
|
||||
FCT_Linear, // 0
|
||||
FCT_MinMaxCPoints, // 1
|
||||
//FCT_Parametric, // 2
|
||||
|
Reference in New Issue
Block a user