Replaced PGLfloat and PGLdouble by ptr ..