summaryrefslogtreecommitdiff
path: root/nodebox.go
diff options
context:
space:
mode:
Diffstat (limited to 'nodebox.go')
-rw-r--r--nodebox.go12
1 files changed, 7 insertions, 5 deletions
diff --git a/nodebox.go b/nodebox.go
index 46d704c..166961e 100644
--- a/nodebox.go
+++ b/nodebox.go
@@ -5,14 +5,16 @@ type Box [2]Vec
type NodeBoxType uint8
const (
- CubeBox NodeBoxType = iota
- FixedBox
- MountedBox
- LeveledBox
- ConnectedBox
+ CubeBox NodeBoxType = iota // Cube
+ FixedBox // Fixed
+ MountedBox // Mounted
+ LeveledBox // Leveled
+ ConnectedBox // Connected
maxBox
)
+//go:generate stringer -linecomment -type NodeBoxType
+
type DirBoxes struct {
Top, Bot []Box
Front, Left, Back, Right []Box