You need the definition of the camera class at the time of construction because incomplete types (which is what a forward decleration is) cannot be constructed.
Regardless of that, this line:
g_Camera = cam;
Is incorrect.
#1Washu
Posted 01 March 2012 - 02:43 PM
You need the definition of the camera class at the time of construction because incomplete types (which is what a forward decleration is) cannot be constructed.