generateIndices method Null safety
- Uint16List indices
override
Implementation
@override
void generateIndices(Uint16List indices) {
var index = 0;
for (var i = 1; i <= _segments; i++) {
indices[index] = i;
indices[index + 1] = i + 1;
indices[index + 2] = 0;
index += 3;
}
assert(index == indexCount);
}