[squeak-dev] Need your opinion: What is most appealing form for
GL function bindings?
Igor Stasenko
siguctua at gmail.com
Thu May 20 16:23:35 UTC 2010
Just few more examples.
For functions, which taking small number of arguments, and which you
using most frequently,
#with: is not playing a significant role..
But consider a following function:
void glAlphaFragmentOp2ATI ( GLenum op , GLuint dst , GLuint dstMod ,
GLuint arg1 , GLuint arg1Rep , GLuint arg1Mod , GLuint arg2 , GLuint
arg2Rep , GLuint arg2Mod )
Currently it translated as:
gl
glAlphaFragmentOp2ATI: op
dst: dst
dstMod: dstMod
arg1: arg1
arg1Rep:arg1Rep
arg1Mod: arg1Mod
arg2: arg2
arg2Rep: arg2Rep
arg2Mod: arg2Mod
--
Best regards,
Igor Stasenko AKA sig.
More information about the Squeak-dev
mailing list
|