 # Math
 Bu.HALF_PI = Math.PI / 2
 Bu.TWO_PI = Math.PI * 2
-
-# Point is rendered as a small circle on screen. This is the radius of the circle.
-Bu.POINT_RENDER_SIZE = 2.25
-
-# Point can have label aside it. This is the offset distance from the point.
-Bu.POINT_LABEL_OFFSET = 5
 
 # Default font for the text
 Bu.DEFAULT_FONT_FAMILY = 'Verdana'
 Bu.DEFAULT_FONT_SIZE = 11
 Bu.DEFAULT_FONT = '11px Verdana'
 
-# -------------------------------------------------------------------
+# Point is rendered as a small circle on screen. This is the radius of the circle.
+Bu.POINT_RENDER_SIZE = 2.25
+
+# Point can have a label attached near it. This is the gap distance between them.
+Bu.POINT_LABEL_OFFSET = 5
 
 # Default smooth factor of spline, range in [0, 1] and 1 is the smoothest
 Bu.DEFAULT_SPLINE_SMOOTH = 0.25

		i++
	return @

# Display version info. It will appear at most one time a minute.
lastBootTime = Bu.data 'lastInfo'
currentTime = Date.now()
unless lastBootTime? and currentTime - lastBootTime < 60 * 1000
	console.info? 'Bu.js v' + Bu.VERSION + ' - [https://github.com/jarvisniu/Bu.js]'
	Bu.data 'lastInfo', currentTime

# How close a point to a line is regarded that the point is **ON** the line.
Bu.DEFAULT_NEAR_DIST = 5

# Enumeration of mouse buttons
Bu.MOUSE_BUTTON_NONE = -1
Bu.MOUSE_BUTTON_LEFT = 0
Bu.MOUSE_BUTTON_MIDDLE = 1
