fixed compiler error
added implementation of myRotatef