Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

HOOPS Exchange provides 2 two different kinds of matrices: A3DMiscCartesianTransformationData and A3DMiscGeneralTransformationData. The first one’s structure separates each type of transformation (scaling, rotation, translation), while the second consists in of a simple double[16] pointer.

How to convert a A3DMiscCartesianTransformationData into a A3DMiscGeneralTransformationData ?

Here’s a code snippet that show how to convert an A3DMiscCartesian matrix into a generic 4x4 one.

...

languagecpp

...

For the full code snippet, check out our forum post.