2 ms·
How this applies to color is left as an exercise to the student. This is what I'd like to hear. Cocoa has NSPoint, which is exactly what you're talking about,
by dchest 17y ago
How this applies to color is left as an exercise to the student.
This is what I'd like to hear. Cocoa has NSPoint, which is exactly what you're talking about, for points. And NSColor is already a kind of the basic object for colors. Do you really need more primitive types for this?