issue porting C++/glm/openGL to D/gl3n/openGL
WhatMeWorry via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jan 10 10:04:24 PST 2016
On Sunday, 10 January 2016 at 10:38:07 UTC, Johan Engelen wrote:
> On Sunday, 10 January 2016 at 10:35:34 UTC, Johan Engelen wrote:
>> It's pretty strange that there is no "translate" method...
>
> Didn't see it in the online docs, but in the source there is
> the "translate" method that you should use.
That's it! Excellent catch. Thank you.
gll3n has translate(), rotate(), and scale() and matrix operators.
It also has translation(), rotation(), and scaling() which
/// Returns a translation matrix (3x3 and 4x4 matrices).
/// Returns an identity matrix with an applied rotate_axis around
an arbitrary axis (nxn matrices, n >= 3).
/// Returns a scaling matrix (3x3 and 4x4 matrices);
More information about the Digitalmars-d-learn
mailing list