equal
deleted
inserted
replaced
90 class Light |
90 class Light |
91 { |
91 { |
92 public: |
92 public: |
93 Vector3 pos; |
93 Vector3 pos; |
94 Colour colour; |
94 Colour colour; |
95 int shadows; |
95 bool cast_shadows; |
96 |
96 |
97 Light(const Vector3 &position, const Colour &acolour): |
97 Light(const Vector3 &position, const Colour &acolour): |
98 pos(position), colour(acolour), shadows(1) {}; |
98 pos(position), colour(acolour), cast_shadows(true) {}; |
99 void castshadows(bool ashadows) { shadows = ashadows; }; |
99 void castShadows(bool cast) { cast_shadows = cast; }; |
100 }; |
100 }; |
101 |
101 |
102 class Texture |
102 class Texture |
103 { |
103 { |
104 public: |
104 public: |