Line class with GLint