• ### Announcements

#### Archived

This topic is now archived and is closed to further replies.

# Getting transformed vertex coords

## Recommended Posts

How do I get the transformed vertex coordanites after calling glTranslate*() and glRotate*(). I need something like this:
xtranformed = transform_vertex_x(x, y, z);
ytranformed = transform_vertex_y(x, y, z);
ztranformed = transform_vertex_z(x, y, z);

where x, y, and z is the vertex that I want to be transformed. Can I just multiply it by the current model matrix? If so, how do I do that? thanks

##### Share on other sites
Use the search button, ive answered that question 4 times in the past 2 weeks.

• ### Forum Statistics

• Total Topics
627736
• Total Posts
2978866

• 10
• 10
• 21
• 14
• 12