Snap to predefined angle

Hi,
Here is just a simple function to snap the angle every 15deg while holding shift.