Added glm include and define for travis builds, removed unneeded variable from render, added depth pass function code.