Page 2 of 2

Re: Extended array definition

Posted: Mon Feb 04, 2019 12:32 am
by luis
Eh, all the tips here are feasible (even if not really nice to look at) in a normal program , but when you can't waste time because you need to draw 60 frames/sec in a game or similar near real time programs and you just need to create and initialize some arrays with floats for vectors/matrices do so some opengl calls the idea of doing loops with strings it's something you want to avoid.
And the idea of doing manual assignment for each item also is not very appealing (and again not nice to look at).
I'm already using some macros (without strings!) for these things, the point is a proper implementation would be better, more versatile (no problem with different data types), and nicer.

Re: Extended array definition

Posted: Mon Feb 04, 2019 8:55 am
by Lord
@luis:

Still holding breath while typing? :mrgreen:

Re: Extended array definition

Posted: Tue Jun 09, 2020 2:04 am
by Rinzwind
Fred? What are the costs?