projects
/
tabakrolletjie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add direction property to ray manager.
[tabakrolletjie.git]
/
tabakrolletjie
/
lights.py
diff --git
a/tabakrolletjie/lights.py
b/tabakrolletjie/lights.py
index 8353c280ed76af9a40998fba750db5c79bba45a8..ed18fdf9cfef629002310652fc0cd609c9969b53 100644
(file)
--- a/
tabakrolletjie/lights.py
+++ b/
tabakrolletjie/lights.py
@@
-291,5
+291,5
@@
class SpotLight(BaseLight):
def tick(self):
if self.angular_velocity:
- self.ray_manager.
rotate_degrees(self.angular_velocity)
+ self.ray_manager.
direction -= self.angular_velocity
self.ray_manager.update_shapes()