-
-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #433 from laurennlam/add_line_widget
Add line widget
- Loading branch information
Showing
12 changed files
with
975 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
Sources/Interaction/Widgets/LineRepresentation/Constants.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
export const State = { | ||
OUTSIDE: 0, | ||
ONP1: 1, | ||
ONP2: 2, | ||
TRANSLATINGP1: 3, | ||
TRANSLATINGP2: 4, | ||
ONLINE: 5, | ||
SCALING: 6, | ||
}; | ||
|
||
export const Restrict = { | ||
NONE: 0, | ||
X: 1, | ||
Y: 2, | ||
Z: 3, | ||
}; | ||
|
||
export default { | ||
State, | ||
Restrict, | ||
}; |
Oops, something went wrong.