mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 13:03:31 +08:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user