Example #1
0
 public Rubber(RubberData data) : base(data)
 {
     MeshGenerator = new RubberMeshGenerator(Data);
 }
Example #2
0
 public Rubber(RubberData data) : base(data)
 {
     _meshGenerator = new RubberMeshGenerator(Data);
     _hitGenerator  = new RubberHitGenerator(Data, _meshGenerator);
 }
 public RubberHitGenerator(RubberData data, RubberMeshGenerator meshGenerator)
 {
     _data          = data;
     _meshGenerator = meshGenerator;
 }