View Full Version : How to get the code of translatef()?

08-23-2000, 04:25 AM
I need to know how can I get the source code of gl.h, e.g the function codes of glTranslatef(), glRotatef(), cos I try to convert them from logarithmic number system, as a result to compare it from standard floating point arithmetic. If I write them myself, it couldn't match other glut functions which are given.

Kilam Malik
08-23-2000, 06:33 AM
If you want to see how it exactly works in your implementation you need the original source which is not available. But if you just want to have a look at how it works you can download the mesa source code, which is free: