Feature: argument coor_mask for move_to / next_to:

setting coor_mask = X_AXIS or Y_AXIS makes the alignment in just one coordinate
This commit is contained in:
mirefek
2018-02-12 22:41:34 +01:00
parent bc83c8a4f3
commit 6b39ba0502
2 changed files with 8 additions and 3 deletions

View File

@ -53,6 +53,9 @@ RIGHT = np.array(( 1., 0., 0.))
LEFT = np.array((-1., 0., 0.))
IN = np.array(( 0., 0.,-1.))
OUT = np.array(( 0., 0., 1.))
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