rotating corner texture depending on point it's attached by