Hallo,
I am having a problem with creating a vector that contains Triangles, which is a class I have made myself.
As you see the whole thing is really simple, but still it does not work.Code:#ifndef INPUT_H
#define INPUT_H
#include "CommonMath.h" // Math stuff
#include "Primitives.h" // Needed for Triangle
#include <vector> // For easy use of dynamic arrays
// Create an array of triangles after reading the vertex
// cordinates from a file
std::vector<Triangle> loadFromFile(std::string FileName);
#endif
The error I get is : `Triangle' was not declared in this scope
Thanks