Light.h including concrete light type class definitions
git-svn-id: svn://anubis/fart/trunk@139 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
parent
5949a813df
commit
94548d4418
@ -31,5 +31,7 @@ class Light
|
|||||||
Color m_specular_color;
|
Color m_specular_color;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#include "PointLight.h"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include "Scene.h"
|
#include "Scene.h"
|
||||||
#include "Light.h"
|
#include "Light.h"
|
||||||
#include "PointLight.h"
|
|
||||||
#include "parser/parser.h"
|
#include "parser/parser.h"
|
||||||
#include "parser/nodes.h"
|
#include "parser/nodes.h"
|
||||||
|
|
||||||
|
@ -12,12 +12,9 @@
|
|||||||
#include "BMP.h"
|
#include "BMP.h"
|
||||||
#include "util/Color.h"
|
#include "util/Color.h"
|
||||||
#include "shapes/Shape.h"
|
#include "shapes/Shape.h"
|
||||||
#include "PointLight.h"
|
#include "Light.h"
|
||||||
#include "Lighting.h"
|
#include "Lighting.h"
|
||||||
|
|
||||||
#include "parser/parser.h"
|
|
||||||
#include "parser/nodes.h"
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
Scene::Scene(const map<string, const char *> & options,
|
Scene::Scene(const map<string, const char *> & options,
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
#include "Light.h"
|
#include "Light.h"
|
||||||
|
|
||||||
#include "parser/parser.h"
|
#include "parser/parser.h"
|
||||||
|
#include "parser/nodes.h"
|
||||||
|
|
||||||
#define SCENE_MAX_TRANSPARENT_HITS 8
|
#define SCENE_MAX_TRANSPARENT_HITS 8
|
||||||
#define SCENE_TRANSPARENCY_THRESHOLD 0.01
|
#define SCENE_TRANSPARENCY_THRESHOLD 0.01
|
||||||
|
Loading…
x
Reference in New Issue
Block a user