public PointBufferWrapperChunk(PointBufferWrapperChunk chunk, int pointCount) { m_buffer = chunk.m_buffer; m_index = chunk.m_index; m_pointSizeBytes = chunk.m_pointSizeBytes; m_pointsRead = pointCount; m_bytesRead = m_pointsRead * m_pointSizeBytes; m_dataPtr = chunk.m_dataPtr; m_dataEndPtr = m_dataPtr + m_bytesRead; m_progress = chunk.m_progress; }
public PointBufferWrapperChunk(PointBufferWrapperChunk chunk, int pointCount) { m_buffer = chunk.m_buffer; m_index = chunk.m_index; m_pointSizeBytes = chunk.m_pointSizeBytes; m_pointsRead = pointCount; m_bytesRead = m_pointsRead * m_pointSizeBytes; m_dataPtr = chunk.m_dataPtr; m_dataEndPtr = m_dataPtr + m_bytesRead; m_progress = chunk.m_progress; }