-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Normalized up vector of P5Camera tilt (Follow up update of PR #7598) #7681
base: main
Are you sure you want to change the base?
Conversation
@davepagurek , please have a look at this update. It is a follow up from #7598 |
@franolichdesign , Please have a look at the follow up. |
@Forchapeatl Thanks for raising the follow up issue and dealing with it - I forgot that I had offered to raise the issue myself! The changes you've made look good though I'm not currently able to test them from the source code as I mentioned before. Just a quick question about coding style. Currently we have:
This could be written more compactly as:
I don't think that this makes any difference to performance and I don't know if it conforms to p5 coding style guidelines. But such a change does seem worthwhile if only to reduce the p5 library file size. Apologies if I'm being too fussy! |
Hello @franolichdesign . I think there is no other major issue . I love your coding style but we should just leave the styling as it is. |
@Forchapeatl Fair enough. Thanks for your support with my first contribution to p5. |
This is a follow up update of PR #7598
Resolves #7680
Changes:
Screenshots of the change:
PR Checklist
npm run lint
passes