3 vertices faces

This commit is contained in:
Thomas FORGIONE
2016-12-02 16:04:05 +01:00
parent 8160024028
commit 9860d90e0b

View File

@@ -42,6 +42,10 @@ class FaceVertex:
class Face:
"""Represents a face with 3 vertices
Faces with more than 3 vertices are not supported in this class. You should
split your face first and then create the number needed of instances of
this class.
"""
def __init__(self, a = None, b = None, c = None, material = None):
"""Initializes a Face with its three FaceVertex and its Material