Since you have to rebuild this code every time you change the sampleTest value, you might as well use a copiler constant instead of a constant whose value is not known until run time:
#define SAMPLE_SIZE 1 Vector3D randomArray[SAMPLE_SIZE]; RobR
Since you have to rebuild this code every time you change the sampleTest value, you might as well use a copiler constant instead of a constant whose value is not known until run time:
#define SAMPLE_SIZE 1 Vector3D randomArray[SAMPLE_SIZE]; RobR