C++ GLM Java port