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
|
import blockrotation
|
||||||
from entity import *
|
from entity import *
|
||||||
|
|
||||||
|
from faces import *
|
||||||
FaceXIncreasing = 0
|
|
||||||
FaceXDecreasing = 1
|
|
||||||
FaceYIncreasing = 2
|
|
||||||
FaceYDecreasing = 3
|
|
||||||
FaceZIncreasing = 4
|
|
||||||
FaceZDecreasing = 5
|
|
||||||
MaxDirections = 6
|
|
||||||
#String constants for common tag names
|
#String constants for common tag names
|
||||||
|
|
||||||
Entities = "Entities"
|
Entities = "Entities"
|
||||||
|
Reference in New Issue
Block a user