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/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:6563bd4f-7923-79db-8871-7ecc297dd461 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | EC72:24E783:82A985:B67037:696F3D87 |
| html-safe-nonce | bd830b9b508e230c9dacbd7fa24cfae25271a2d753d04784150f57f1a92ae43d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzcyOjI0RTc4Mzo4MkE5ODU6QjY3MDM3OjY5NkYzRDg3IiwidmlzaXRvcl9pZCI6IjE5MDY4OTg2ODE1NjY1NDMyMzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a2f45a06ed3e482d97f119a0eead5d68873a31963beb5866a4ceef71cf1aa625 |
| hovercard-subject-tag | pull_request:263284292 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/checks |
| 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 | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width