-
Notifications
You must be signed in to change notification settings - Fork 78
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
Colors #35
Comments
Hi, I think having an implementation in vector math makes sense. |
Seperate Color class vs Vector4? Top level methods for conversation to the different formats? |
Separate color class with (static?) methods for converting between different formats. |
Ok, I will look into this in the beginning of the next month. |
Hi, any update on color class? |
I stopped because I'm not sure if a seperate color class is usefull.Some users may want a rgb, some a argb color. But both classes would manly be copies of Vector3 oder Vector4. If they are seperate classes interacting with methods that take a Vector4 as an argument may be difficult. I think we should add the color related functions to the Vector4 (and 3?) class instead. |
Hi, I think the color support should be implemented as classes with static methods: class ColorConversion { |
Ping. |
Ass a list what I would implement
Anything else? I will look into it later today or tomorrow. |
Vector4 is designed to hold color values, too. What I'm missing are methods to convert colors to and from other formats like:
A colors class with definition of some known colors would be nice for fast prototyping, like:
I could implement this. But the question is, is this more a vector_math or spectre related thing? Or is a own color class, like three.js has, the way to go?
The text was updated successfully, but these errors were encountered: