Skip to content

Commit 98b3ccd

Browse files
committed
Resolve None matrix in deferred renderer
1 parent dfc72bc commit 98b3ccd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

demosys/deferred/renderer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212
class PointLight:
1313
"""A point light and its properties"""
1414
def __init__(self, position, radius):
15+
self.matrix = None
1516
self._position = position
17+
self.position = position
1618
self.radius = radius
17-
self.matrix = None
1819

1920
@property
2021
def position(self):

0 commit comments

Comments
 (0)