Title: PVector's setHeading() isn't highlighted, or in the reference. · Issue #472 · processing/processing4 · GitHub
Open Graph Title: PVector's setHeading() isn't highlighted, or in the reference. · Issue #472 · processing/processing4
X Title: PVector's setHeading() isn't highlighted, or in the reference. · Issue #472 · processing/processing4
Description: Created by: ExpandingS Description The method setHeading isn't highlighted like other methods in PVector. It also isn't in the reference (But this may be an issue for processing-docs?). Expected Behavior setHeading appears with that same...
Open Graph Description: Created by: ExpandingS Description The method setHeading isn't highlighted like other methods in PVector. It also isn't in the reference (But this may be an issue for processing-docs?). Expected Be...
X Description: Created by: ExpandingS Description The method setHeading isn't highlighted like other methods in PVector. It also isn't in the reference (But this may be an issue for processing-docs?). Exp...
Opengraph URL: https://github.com/processing/processing4/issues/472
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PVector's setHeading() isn't highlighted, or in the reference.","articleBody":"*Created by: ExpandingS*\n\n## Description\nThe method setHeading isn't highlighted like other methods in PVector. It also isn't in the [reference](https://processing.org/reference/PVector.html) (But this may be an issue for processing-docs?).\n\n## Expected Behavior\nsetHeading appears with that same blue colour. \n\n## Current Behavior\n\n\n\n## Steps to Reproduce\n\n1. Paste the following code:\n\n```\nvoid setup() {\n PVector p = new PVector(5, 5);\n \n p.setMag(2);\n p.setHeading(3);\n}\n```\n2. Observe the highlighting\n\n## Your Environment\n* Processing version: 4.0b7, latest from git\n* Operating System and OS version: Windows 10\n* Other information:\n\n## Possible Causes / Solutions\nI've tried adding annotations as there aren't currently any, like:\n```\n /**\n *\n * Set the heading of this vector to the value used for the \u003cb\u003elen\u003c/b\u003e parameter.\n *\n *\n * @webref pvector:method\n * @usage web_application\n * @param angle the new heading for this vector\n * @webBrief Set the heading of the vector\n */\n public PVector setHeading(float angle) {\n float m = mag();\n x = (float) (m * Math.cos(angle));\n y = (float) (m * Math.sin(angle));\n return this;\n }\n```\nHowever it didn't seem to change anything.\n\n## Other\nAdded [in this issue](https://github.com/processing/processing4/issues/193)\n","author":{"url":"https://github.com/processing-bot","@type":"Person","name":"processing-bot"},"datePublished":"2022-04-21T13:22:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/472/processing4/issues/472"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:78a87b46-a4aa-74f5-a81c-8d0c32bbcc54 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA24:374780:27C0E03:3426251:696B2163 |
| html-safe-nonce | 9331058de6f7ac473081f7e7459a19c099a995782b65e3784a90f5c02351b51e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTI0OjM3NDc4MDoyN0MwRTAzOjM0MjYyNTE6Njk2QjIxNjMiLCJ2aXNpdG9yX2lkIjoiNDUxMTU5MjMwODg3NDQ4MDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8397fddd67946d20e459ad6f50dac13c25168282061549021b093f15ff8e98cc |
| hovercard-subject-tag | issue:2472624548 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/processing/processing4/472/issue_layout |
| twitter:image | https://opengraph.githubassets.com/92290c4e27d871e53bde32a1d047f1b6d581a0884a2e59503708f99f594900f5/processing/processing4/issues/472 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/92290c4e27d871e53bde32a1d047f1b6d581a0884a2e59503708f99f594900f5/processing/processing4/issues/472 |
| og:image:alt | Created by: ExpandingS Description The method setHeading isn't highlighted like other methods in PVector. It also isn't in the reference (But this may be an issue for processing-docs?). Expected Be... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | processing-bot |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing4 git https://github.com/processing/processing4.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 844382769 |
| octolytics-dimension-repository_nwo | processing/processing4 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 844382769 |
| octolytics-dimension-repository_network_root_nwo | processing/processing4 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width