"LanuHum" <Lan### [at] yandexru> wrote:
> Now I will try to create classes! Thank you. Your support has helped me.
No, I will not understand your code. Very confusing.
What would be said Gerbert Shildt, if you saw your code?
Macros - evil. It is neither for you.
Where similar to this?
//Scene.h
#include <vector>
#include "Camera.h"
#include "Light.h"
#include "Object.h"
#include "Pigment.h"
#include "Normal.h"
#include "Finish.h"
#include "Texture.h"
using namespace std;
class Scene {
public:
Camera camera;
vector<Light*> lights;
vector<Object*> static_objects;
vector<Object*> animate_objects;
vector<Pigment*> pigments;
vector<Normal*> normals;
vector<Finish*> finishes;
vector<Texture*> textures;
Scene();
~Scene();
};
In vain I try to. :((((((((((((((
Post a reply to this message
|