vertex transformation