Updated, added rotation of triangle