Renamed SPACE_WIDTH and SPACE_HEIGHT to SPACE_X_RADIUS and SPACE_Y_RADIUS to be less confusing

This commit is contained in:
Grant Sanderson
2018-03-30 11:03:14 -07:00
parent 873fa49fbe
commit 55786e443d
98 changed files with 951 additions and 951 deletions

View File

@ -27,8 +27,8 @@ DEFAULT_POINT_DENSITY_1D = 250
DEFAULT_POINT_THICKNESS = 4
#TODO, Make sure these are not needed
SPACE_HEIGHT = 4.0
SPACE_WIDTH = SPACE_HEIGHT * DEFAULT_WIDTH / DEFAULT_HEIGHT
SPACE_Y_RADIUS = 4.0
SPACE_X_RADIUS = SPACE_Y_RADIUS * DEFAULT_WIDTH / DEFAULT_HEIGHT
SMALL_BUFF = 0.1
@ -57,10 +57,10 @@ X_AXIS = np.array(( 1., 0., 0.))
Y_AXIS = np.array(( 0., 1., 0.))
Z_AXIS = np.array(( 0., 0., 1.))
TOP = SPACE_HEIGHT*UP
BOTTOM = SPACE_HEIGHT*DOWN
LEFT_SIDE = SPACE_WIDTH*LEFT
RIGHT_SIDE = SPACE_WIDTH*RIGHT
TOP = SPACE_Y_RADIUS*UP
BOTTOM = SPACE_Y_RADIUS*DOWN
LEFT_SIDE = SPACE_X_RADIUS*LEFT
RIGHT_SIDE = SPACE_X_RADIUS*RIGHT
TAU = 2*np.pi
DEGREES = TAU/360