Clint
Clint

Reputation: 6499

Difference between gl_Translatef and gl_Translatedf

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

Answers (1)

Dan
Dan

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

See here for examples here.

Upvotes: 1

Related Questions