Reputation: 6499
Whats the difference between gl_Translatef
and gl_Translatedf
in openGl,
I know translatef
manipulates the matrix according to the parameters that you pass to it ....
But what does gl_Translatedf
do in comparison to former ?
Upvotes: 1
Views: 1078
Reputation: 156
It is a short hand notation for specifying which function signature options you have like d=double
, f=float
. There are glTranslatef
or glTranslated
so for short hand its sometimes written as glTranslatedf
Upvotes: 1