TransformData.allocate constructor

TransformData.allocate()

Implementation

TransformData.allocate()
    : index = _pool.allocate(),
      elements = _pool {
  var index0 = index * Float4Data.bytesPerElement;
  scosIndex = index0 + iscos;
  ssinIndex = index0 + issin;
  txIndex = index0 + itx;
  tyIndex = index0 + ity;
}