Refactor: Replace macros with enum class show_dot_direction, show_dot_action
Refactor: whitespace around operators
Refactor: Replace enum with enum class direction
Refactor: Replace macros with enum class trig_fn
Refactor: Isolate open brace after control structures
Refactor: Isolate open brace after else
Refactor: Isolate closing brace before else
Refactor: Eliminate clutter
Refactor: Isolate closing brace in do/while
Refactor: Isolate opening brace in do/while