Use constants instead of numeric literals

a small touch-up to use the standard axis enums.