Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View module revisions #6

Merged
merged 4 commits into from
Sep 15, 2014
Merged

View module revisions #6

merged 4 commits into from
Sep 15, 2014

Conversation

matteblair
Copy link
Member

Fix a few oversights in the ViewModule, improve the Makefile structure (still need a better build system..), and enable the window-resize callback in GLFW (for OS X)

@@ -28,12 +28,14 @@ void ViewModule::setAspect(float _width, float _height) {

m_aspect = _width / _height;
setZoom(m_zoom);
m_dirty = true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for line #13 (can not comment there).. there is no need to set m_dirty to true there.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, it's just there for clarity.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coolness :D.

@tallytalwar
Copy link
Member

Superbly done.. Merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants