Added a very simple light source so the 3D models now have simple shading applied to them.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import vectors
|
||||
|
||||
class Triangle:
|
||||
def __init__(self, coords):
|
||||
self.coords = coords # Matrix3x3
|
||||
self.object_id = None
|
||||
self.color = None
|
||||
Reference in New Issue
Block a user