glm::mat4 projection = glm::ortho(0.0f, static_cast<GLfloat>(WIDTH), 0.0f, static_cast <GLfloat> (HEIGHT));
gl3n is great for vecs and mats but does not appear to have an ortho function.
Any suggestions? Thanks in advance.
WhatMeWorry via Digitalmars-d-learn Sun, 04 Oct 2015 14:35:53 -0700
glm::mat4 projection = glm::ortho(0.0f, static_cast<GLfloat>(WIDTH), 0.0f, static_cast <GLfloat> (HEIGHT));
gl3n is great for vecs and mats but does not appear to have an ortho function.
Any suggestions? Thanks in advance.