Added global values to position each triangle