3 vertices faces

This commit is contained in:
Thomas FORGIONE 2016-12-02 16:04:05 +01:00
parent 8160024028
commit 9860d90e0b
No known key found for this signature in database
GPG Key ID: 2A210FFC062E00C3
1 changed files with 4 additions and 0 deletions

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