Position matrix on LineGeometry

I’m creating a straightforward equilateral triangle using Line2 and LineGeometry like this :

const positions = [];

    for (let i = 0; i < 3; i++) {
      const angle = (i * 2 * Math.PI / 3) + Math.PI / 6;
      const x = this.centerPoint.x + this.radius * Math.cos(angle);
      const z = this.centerPoint.z + this.radius * Math.sin(angle);
      positions.push(x, this.centerPoint.y, z);
    }
    positions.push(positions[0], positions[1], positions[2]);

    
    this.geometry.setPositions(positions);
    this.mesh?.computeLineDistances();
    this.material.resolution.set(window.innerWidth, window.innerHeight);
  }

It’s working fine.
The problem is that when I look back to the created object, I don’t see the positions matrix as I’ve set it up. What I get is something like :

Can someone explain why?

All the data about positions of lines is in these attributes: instanceStart, instanceEnd. :thinking: