CurvesAsSubmobjects constructor
CurvesAsSubmobjects(
- VMobject vmob
Implementation
CurvesAsSubmobjects(VMobject vmob) {
var tuples = vmob.getCubicBezierTuples();
for (var tuple in tuples) {
var part = VMobject()
..setPoints(tuple.toList().cast<Vector3>())
..matchStyle(vmob);
add([part]);
}
}