src/scene.h
branchpyrit
changeset 21 79b516a3803d
parent 20 f22952603f29
--- a/src/scene.h	Thu Nov 29 18:30:16 2007 +0100
+++ b/src/scene.h	Fri Nov 30 00:44:51 2007 +0100
@@ -92,11 +92,11 @@
 public:
 	Vector3 pos;
 	Colour colour;
-	int shadows;
+	bool cast_shadows;
 
 	Light(const Vector3 &position, const Colour &acolour):
-		pos(position), colour(acolour), shadows(1) {};
-	void castshadows(bool ashadows) { shadows = ashadows; };
+		pos(position), colour(acolour), cast_shadows(true) {};
+	void castShadows(bool cast) { cast_shadows = cast; };
 };
 
 class Texture