|
Re: Error: within this context
AxisCamera is a singleton. You shouldn't be calling the constructor directly. Try this.
Code:
AxisCamera& camera;
//In your constructor do this
camera = AxisCamera::GetInstance();
Last edited by Dave Scheck : 09-12-2010 at 10:13.
Reason: Changed my pointer to a reference to match the prototype
|