Pivot point rotation

Hi. Who can explain to me why the center has shifted? how to do it right . I want to rotate the triangle by any of its vertices

Have you seen this first demo

Set a Pivot | Babylon.js Playground (babylonjs.com)

from the docu Pivots | Babylon.js Documentation (babylonjs.com)