user882611
user882611

Reputation: 47

how to get vertex after transformation

how to get the vertex of a triangle after rotation, i knew there is a function glFloatv but all what it returns floats that has nothing to do with coordinates of the trianlge

Upvotes: 0

Views: 273

Answers (1)

datenwolf
datenwolf

Reputation: 162164

how to get the vertex of a triangle after rotation

Which one? A triangle has 3 vertices (hence the tri-)

i knew there is a function glFloatv

No, there isn't. Maybe you're confusing it with glGetFloatvf. However the glGet… functionsare are meant for retrieving OpenGL state variables, not giving transformation feedback.

If you've got only hand full of triangles to process, use gluProject

Upvotes: 1

Related Questions