Replaced view matrix with quaternions.