Thanks, I'll take a look. I'm new, so I might need some help properly building this. I will post back if I have any problems.

On Tuesday, 13 March 2012 at 20:06:13 UTC, Dmitry Olshansky wrote:
On 14.03.2012 0:03, H. S. Teoh wrote:
On Tue, Mar 13, 2012 at 08:25:49PM +0100, Chris Pons wrote:
Does D have a math library that defines, points, vectors and
matrices including the appropriate functions(addition, dot product,
cross product, etc)?

I'd like to know too.

I have a medium-sized D project in the works, but right now I'm stuck at deciding how best to represent matrices and vectors in a generic way. My usage will be significantly different from game programming, though, 'cos I'll be dealing with arbitrary-dimensioned vectors and matrices,
not just your typical 2D/3D vector (or 4D homogenous).

But it'd be nice if both can be handled generically without crippling
performance losses in the 2D/3D case for game dev.


T


SciD worths a look, though never used nor had the need to:
https://github.com/kyllingstad/scid


Reply via email to