Title: Implement PGraphicsOpenGL.getMatrix(PMatrix2D) (Issue #5063) by Romejanic · Pull Request #5826 · processing/processing · GitHub
Open Graph Title: Implement PGraphicsOpenGL.getMatrix(PMatrix2D) (Issue #5063) by Romejanic · Pull Request #5826 · processing/processing
X Title: Implement PGraphicsOpenGL.getMatrix(PMatrix2D) (Issue #5063) by Romejanic · Pull Request #5826 · processing/processing
Description: Hey there, I implemented a currently unimplemented feature which is to store the current modelview matrix of a P2D sketch into a PMatrix2D object, so that it could be used elsewhere or applied later through applyMatrix(). Test code: size(200,200,P2D); translate(50,75); rotate(0.2); scale(random(0.5f,2f)); printMatrix(); PMatrix2D matrix = new PMatrix2D(); getMatrix(matrix); matrix.print(); resetMatrix(); fill(255,0,0); rect(50,50,50,50); applyMatrix(matrix); rect(50,50,50,50);
Open Graph Description: Hey there, I implemented a currently unimplemented feature which is to store the current modelview matrix of a P2D sketch into a PMatrix2D object, so that it could be used elsewhere or applied late...
X Description: Hey there, I implemented a currently unimplemented feature which is to store the current modelview matrix of a P2D sketch into a PMatrix2D object, so that it could be used elsewhere or applied late...
Opengraph URL: https://github.com/processing/processing/pull/5826
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:bcd0d66e-228c-b6fd-51cc-c0ab6dcabb46 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B21C:253AC6:11699:18F42:696F9E2E |
| html-safe-nonce | cd48ef4dbe04c603e15c1a4840a6ff7ac12843cef1c4d81380206835a585dfd7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjFDOjI1M0FDNjoxMTY5OToxOEY0Mjo2OTZGOUUyRSIsInZpc2l0b3JfaWQiOiI2NDk4MDgwODc4MzEwMTcwMTU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f5f5f7ad804fe70c4994f98722bf211a2886053ced23f8a77aaf16bde070adf2 |
| hovercard-subject-tag | pull_request:263284292 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/processing/processing/pull/5826/files |
| twitter:image | https://avatars.githubusercontent.com/u/4233623?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/4233623?s=400&v=4 |
| og:image:alt | Hey there, I implemented a currently unimplemented feature which is to store the current modelview matrix of a P2D sketch into a PMatrix2D object, so that it could be used elsewhere or applied late... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0ca8d8c65612640b9a1a588b3eed68222ca723ed2d028b18fe81b28936d535eb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/processing/processing git https://github.com/processing/processing.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 7807399 |
| octolytics-dimension-repository_nwo | processing/processing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7807399 |
| octolytics-dimension-repository_network_root_nwo | processing/processing |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 95f60616ce2765d1114fe6da4af405a58c6d26d2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width