Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

PVectors return themselves when modified#3015

Closed
TheMaxJ wants to merge 1 commit intoprocessing:masterprocessing/processing:masterfrom
TheMaxJ:masterTheMaxJ/processing:masterCopy head branch name to clipboard
Closed

PVectors return themselves when modified#3015
TheMaxJ wants to merge 1 commit intoprocessing:masterprocessing/processing:masterfrom
TheMaxJ:masterTheMaxJ/processing:masterCopy head branch name to clipboard

Conversation

@TheMaxJ
Copy link

@TheMaxJ TheMaxJ commented Dec 23, 2014

Most other APIs that have vectors use methods similar to those used with Java Strings in which methods that modify the object return that object. The branches are auto-merge-able.

For example:
http://jd.bukkit.org/rb/doxygen/d0/d19/classorg_1_1bukkit_1_1util_1_1Vector.html

In effect, all of the modified methods now "return this".

PVector’s modification void methods now return the instance of the
PVector after Modification.
@benfry
Copy link
Contributor

benfry commented Dec 24, 2014

#257

@benfry benfry closed this Dec 24, 2014
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.