addGenerator method

void addGenerator(
  1. Vector2 center,
  2. int tag
)

Implementation

void addGenerator(Vector2 center, int tag) {
  VoronoiGenerator g = _generatorBuffer[_generatorCount++];
  g.center.x = center.x;
  g.center.y = center.y;
  g.tag = tag;
}