Phobos colour module?

via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 6 01:31:53 PST 2015


On Tuesday, 6 January 2015 at 09:19:46 UTC, John Colvin wrote:
> What's wrong with old-fashioned `Fast` postfixes on entry 
> points where a faster but less precise method is available? Or 
> template arguments like std.algorithm.SortStrategy?

If this is for phobos it should follow a common model. But since 
a fast implementation might involve an object which builds a 
table before processing....

Another problem is that "precise" is a very loose term if the 
conversion is for display or for composition in a shader. What 
you want depends on the kind of post processing that happens 
after this and how it affects the nonlinearities of human 
perception.


More information about the Digitalmars-d mailing list