I have compared it with my old engine that works, and the only error I found was in setPerpendicularXZ in the Vector3 class, that didn't solve my problem though. Neither could I find any significant differences in the Camera class nor the GameOGL class.
So I found it by copy/pasting parts of my old code into the new. It is the Camera constructor.
// old camera
m_v3Position = Vector3(0, 0, 0);
m_fRX = 0.0f;
m_fRY = 0.0f;
m_fLinearSpeed = 5.0f;
m_fAngularSpeed = 2.0f;
m_v3LookDirection = Vector3(0, 0, -1.0f);
m_v3LookDirectionHome = m_v3LookDirection;
// new camera
m_v3Position(Vector3(0.0f, 0.0f, 0.0f)),
m_v3LookDirection(Vector3(0.0f, 0.0f, -1.0f)),
The // new camera is the one that won't work properly, but I don't understand why.
Is it because of the initialization list perhaps? Or should I just go get a pair of glasses right away?