DIP80: phobos additions

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Sat Jun 13 04:05:18 PDT 2015


On Saturday, 13 June 2015 at 10:37:39 UTC, Rikki Cattermole wrote:
> On 13/06/2015 10:35 p.m., Tofu Ninja wrote:
>> On Saturday, 13 June 2015 at 08:45:20 UTC, John Colvin wrote:
>>> [...]
>>
>> I think there is a conflict of interest with what people want. 
>> There
>> seem to be people like me who only want or need simple 
>> matrices like glm
>> to do basic geometric/graphics related stuff. Then there is 
>> the group of
>> people who want large 500x500 matrices to do weird crazy maths 
>> stuff.
>> Maybe they should be kept separate? In which case then we are 
>> really
>> talking about adding two different things. Maybe have a 
>> std.math.matrix
>> and a std.blas?
>
> IMO simple matrix is fine for a standard library. More complex 
> highly specialized math library yeah no. Not enough gain for 
> such a complex code.
>
> Where as matrix/vector support for e.g. OpenGL now that will 
> have a high visibility to game devs.

Linear algebra for graphics is the specialised case, not the 
other way around. As a possible name for something like gl3n in 
phobos, I like std.math.geometry


More information about the Digitalmars-d mailing list