Matrix/Vector multiplication - Maintain control.

I want to be able to do this:

glVector Foo(0,0,-10);
glMatrix Bar=gluPerspective(-blah-);


Let the card to it in the GPU, and let me maintain control of the vector “foo”. Makes culling, billboarding, etc. easier.

I’m sure I’m not the first to suggest it, but it would still be nice!

It would also be slow. Generally, when sending information between the CPU and the GPU, the fastest, most optimal path is in one direction: from the CPU to the GPU. Having glVectors and so forth around (not to mention the fact that operator overloading is a function of C++ only, and OpenGL is a C library) will only serve to slow the program down.

See vertex programs.