a guest Mar 14th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- //Draw surface
- mvpMatrix = *mPerspectiveMatrix * *mViewMatrix * *(mSurface->getModelMatrix());
- glUniformMatrix4fv( mMVPUniform, 1, GL_FALSE, mvpMatrix.constData());
- glDrawArrays(GL_POINTS, 0, mSurface->mNumberOfVertices);
RAW Paste Data