RE: mathematical functions for scripting in LDCad
2018-03-15, 14:05 (This post was last modified: 2018-03-15, 14:06 by Joscha.)
2018-03-15, 14:05 (This post was last modified: 2018-03-15, 14:06 by Joscha.)
I figured out why I experienced the 180° flip. I just applied the rotation to the wrong orientation matrix.
But basically I learned now that everything I need is already packed inside the scripting API. Thank you!
Coming back to the matrix type. You describe that it is a 4x4 matrix initialised as identity matrix. But for the location and orientation only 12 elements are used. Do the four remaining elements contain information?
But basically I learned now that everything I need is already packed inside the scripting API. Thank you!
Coming back to the matrix type. You describe that it is a 4x4 matrix initialised as identity matrix. But for the location and orientation only 12 elements are used. Do the four remaining elements contain information?