-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Created fix for camera settings getting reset each time resizeCanvas() is called #6216
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
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
a6e2ad4
created fix for camera settings getting reset each time resizeCanvas(…
RandomGamingDev 786934a
linting issue fix for cam-fix
RandomGamingDev 6fdde8c
fixed the trailing whitespace problem for cam-fix commit
RandomGamingDev 56af4e1
made it so that it copies the whole camera
RandomGamingDev 7c70e77
fixed typo
RandomGamingDev 351bde7
flipped equal system regarding custom type projection matrix updating
RandomGamingDev c41e769
wait no that wasn't a typo sorry about that
RandomGamingDev 1b97e17
added safeguard for compatibility with NonWebGL sketches
RandomGamingDev 32fef72
placed cam variable in higher scope
RandomGamingDev 2151987
thanks dave & inari
RandomGamingDev dd00fca
lmao accidentally used git add . in the wrong dir here's the cam fix
RandomGamingDev 685365a
removed now unnecessary overload for FrameBufferCamera
RandomGamingDev ad45efe
Merge branch 'processing:main' into cam-fix
RandomGamingDev 1f5361f
Merge branch 'processing:main' into cam-fix
RandomGamingDev c9609ca
Merge branch 'processing:main' into cam-fix
RandomGamingDev 409d980
made it so that functions that customize a camera set the cameraType …
RandomGamingDev 3aad5b0
forgot to remove the extra parameters that I accidentally added
RandomGamingDev 7804a99
Merge branch 'processing:main' into cam-fix
RandomGamingDev da99eb4
made it so that p5.Camera.camera() uses an optional parameter for the…
RandomGamingDev cdff3ea
added some changes so that default cameras only reset their fov as su…
RandomGamingDev 6512043
removed the custom setters for cameraType since position is now longe…
RandomGamingDev 58b3862
added the code from dave's example for keeping the camera z constant
RandomGamingDev 055e133
removed the default cameraType setter in p5.Camera.camera()
RandomGamingDev 9858a68
swapped the lines so that defaultEyeZ's value of 800 applies in the c…
RandomGamingDev 627836c
removed _setDefaultCamera() and added back _computeCameraDefaultSetti…
RandomGamingDev 7f597ca
Change order of applying perspective scale to get better fidelity joi…
davepagurek 8487149
Update tests
davepagurek adf66c4
Merge pull request #1 from davepagurek/test-fixes
RandomGamingDev 70bee38
added camera position test
RandomGamingDev 9142e13
added rotation test and changed it so that it uses a WEBGL canvas
RandomGamingDev a50f4f9
added myp5. in front of WEBGL
RandomGamingDev 85bdf92
added myp5. in front of resizeCanvas()
RandomGamingDev 71fc134
removed a comment that I accidentally added
RandomGamingDev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.