writeShapeValues method
Gives values what shapeKey is made from, one by one, so a renderer
can tell each frame whether the mesh changed without making a key.
A shape of the engine's gives plain numbers; the default gives
shapeKey itself.
Implementation
@override
void writeShapeValues(ShapeValues values) {
values.add(height);
final points = this.points;
for (var i = 0; i < points.length; i++) {
values
..add(points[i].dx)
..add(points[i].dy);
}
}