-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Documentation for ofColor. #2779
Conversation
I'm specifically looking for feedback on the use of "channels" vs. "components", etc. It would be nice to land on a consistent language for this as it will also apply to docs for ofImage, ofPixels, etc. Perhaps we could simply adopt the language used in the new packt book / ofBook or @joshuajnoble's work? Others perhaps. |
- Use initialization lists. - Make const argument ordering self-consistent. - Make method spacing self-consistent.
Going with components based on wikipedia. |
Also, while I'm cleaning this up, is there any particular reason we are passing const references for primitive types for operators in |
My thought with channels is that it matches the Photoshop terminology and hence might be a little easier to understand for people, Obligatory phone disclaimer
|
Note to self: ask someone (maybe @kylemcdonald) to confirm that |
Yeah, I'm pretty sure
I believe it should be:
to return the hue angle in degrees. |
Not sure what would prevent this from being merged. It was a lot of work. |
For sure! My mini goal was to do the doc and test the style rigorously with doxygen, xcode, etc (which I did). |
Also @bilderbuchi regarding the |
just merged this, thanks so much.... |
+1 :) |
In progress. Please comment.