export interface ClothConfig {
  gridWidth: number;
  gridHeight: number;
  spacing: number;
  density: number;
  numVertices: number;
  particleInvMass: number;
}

export interface ClothData {
  positions: Float32Array;
  prevPositions: Float32Array;
  velocities: Float32Array;
  constraints: number[][];
  params: Float32Array;
}
