# [ODE] why setTransform() ?

**Russ Smith
**
russ at q12.org

*Mon Jan 7 17:47:01 2002*

>* In the DrawStuff examples, there is a function setTransform that
*>* tranforms the rotation matrix and position vector from ODE format to
*>* openGl format. My question is, why do we need to do it? If ode's
*>* format is column-major and openGl is also column major, why do we
*>* need to transform
*
ODE's matrices have 3 rows, not 4. also, ODE matrices may contain
doubles whereas OpenGL matrices contain singles. so some kind of
setTransform() function is needed.
russ.
--
Russell Smith
http://www.q12.org