Original Post
Can someone please tell me how to create a private vector for my cameras? I looked at different tutorials, but every time I get the error: "missing ; before [whatever comes after vector]". [Edited by - MarauderX on August 1, 2006 3:51:00 PM]
#include <vector>
#include <d3dx9.h>
struct STRUCT_CAMERA
{
D3DXVECTOR3 vEye;
D3DXVECTOR3 vLookat;
D3DXVECTOR3 vUp;
D3DXMATRIXA16 matView;
};
class CCameras
{
private:
// ToDo: declare a vector to put cameras in
public:
void Add(D3DXVECTOR3 vLocation, D3DXVECTOR3 vOrientation);
CCameras();
~CCameras();
};