add faces.py
This commit is contained in:
parent
536cf7d864
commit
4db526c533
17
faces.py
Normal file
17
faces.py
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
FaceXIncreasing = 0
|
||||
FaceXDecreasing = 1
|
||||
FaceYIncreasing = 2
|
||||
FaceYDecreasing = 3
|
||||
FaceZIncreasing = 4
|
||||
FaceZDecreasing = 5
|
||||
MaxDirections = 6
|
||||
|
||||
faceDirections = (
|
||||
(FaceXIncreasing, (1, 0, 0)),
|
||||
(FaceXDecreasing, (-1, 0, 0)),
|
||||
(FaceYIncreasing, (0, 1, 0)),
|
||||
(FaceYDecreasing, (0, -1, 0)),
|
||||
(FaceZIncreasing, (0, 0, 1)),
|
||||
(FaceZDecreasing, (0, 0, -1))
|
||||
)
|
@ -22,14 +22,7 @@ from materials import *
|
||||
import blockrotation
|
||||
from entity import *
|
||||
|
||||
|
||||
FaceXIncreasing = 0
|
||||
FaceXDecreasing = 1
|
||||
FaceYIncreasing = 2
|
||||
FaceYDecreasing = 3
|
||||
FaceZIncreasing = 4
|
||||
FaceZDecreasing = 5
|
||||
MaxDirections = 6
|
||||
from faces import *
|
||||
#String constants for common tag names
|
||||
|
||||
Entities = "Entities"
|
||||
|
Reference in New Issue
Block a user