DIP80: phobos additions

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


On Saturday, 13 June 2015 at 11:05:19 UTC, John Colvin wrote:
> 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

A geometry library is different, it should be type safe when it 
comes to units, lengths, distances, areas...

I think linear algebra should have the same syntax for small and 
large matrices and switch representation behind the scenes.

The challenge is to figure out what kind of memory layouts you 
need to support in order to interact with existing 
frameworks/hardware with no conversion.


More information about the Digitalmars-d mailing list