Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
78 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
/** A rectangle. */ | ||
/** A rectangle or rectangular prism. */ | ||
export default interface Box { | ||
/** The X-coordinate of the box. */ | ||
x: number; | ||
|
||
/** The Y-coordinate of the box. */ | ||
y: number; | ||
|
||
/** The Z-coordinate of the box if it is a prism. */ | ||
z?: number; | ||
|
||
/** The width of the box. */ | ||
width: number; | ||
|
||
/** The height of the box. */ | ||
height: number; | ||
|
||
/** The depth of the box if it is a prism. */ | ||
depth?: number; | ||
} |
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