just another idea I had …
imagine writing a dynamic code
that will generate glvertex dynamically for you
it could generate via different method such as 4 floating pts numbers or 2 double or via vector etc …
if I were to write a generator, this implies I need a separate code to generate glvertex4f() glvertex2d etc … instead of just glvertex …
this the beauty of polymorphism being expressed and used.
the origin glvertex2f etc calling is good when you are porting the codes over from C++ for example to jogl … but when you are writing a new program or like me trying to learn opengl … it increases the learning time trying to recalled all the different combinations to called.
dont mind, I am a total noob in programming also … java is my first and only programming I have done till now.