void CWalkingCamera::update()
{
	if(Keys::key('W'))move(appMain.sof(fSpeed));
	if(Keys::key('S'))move(appMain.sof(-fSpeed));
	if(Keys::key('A'))rotateViewY(appMain.sof(90.0f));
	if(Keys::key('D'))rotateViewY(appMain.sof(-90.0f));
}
void CWalkingCamera::Update(CSDLOpenGLWindow* wnd)
{
	if(Keys::Key(SDL_SCANCODE_W))move(wnd->sof(fSpeed));
	if(Keys::Key(SDL_SCANCODE_S))move(wnd->sof(-fSpeed));
	if(Keys::Key(SDL_SCANCODE_A))rotateViewY(wnd->sof(90.0f*3.1415f/180.0f));
	if(Keys::Key(SDL_SCANCODE_D))rotateViewY(wnd->sof(-90.0f*3.1415f / 180.0f));
}