Compare own projection matrix with glm's

Turn out to be the same indeed. Will use glm's in the future.