Re: gl3n does not seem to have an ortho function like glm. Any replacements?

2015-10-04 Thread WhatMeWorry via Digitalmars-d-learn
On Monday, 5 October 2015 at 00:05:42 UTC, Rene Zwanenburg wrote: On Sunday, 4 October 2015 at 21:30:43 UTC, WhatMeWorry wrote: I'm porting some C++/OpenGL/glm code over to D, And I've run into a glm::ortho function. glm::mat4 projection = glm::ortho(0.0f, static_cast(WIDTH), 0.0f,

gl3n does not seem to have an ortho function like glm. Any replacements?

2015-10-04 Thread WhatMeWorry via Digitalmars-d-learn
I'm porting some C++/OpenGL/glm code over to D, And I've run into a glm::ortho function. glm::mat4 projection = glm::ortho(0.0f, static_cast(WIDTH), 0.0f, static_cast (HEIGHT)); gl3n is great for vecs and mats but does not appear to have an ortho function. Any suggestions? Thanks in

Re: gl3n does not seem to have an ortho function like glm. Any replacements?

2015-10-04 Thread Rene Zwanenburg via Digitalmars-d-learn
On Sunday, 4 October 2015 at 21:30:43 UTC, WhatMeWorry wrote: I'm porting some C++/OpenGL/glm code over to D, And I've run into a glm::ortho function. glm::mat4 projection = glm::ortho(0.0f, static_cast(WIDTH), 0.0f, static_cast (HEIGHT)); gl3n is great for vecs and mats but does not