Horde3D http://horde3d.org/forums/ |
|
matrix multiplikation || C#-Wrapper http://horde3d.org/forums/viewtopic.php?f=2&t=819 |
Page 1 of 1 |
Author: | aDoubleSo [ 18.06.2009, 11:14 ] |
Post subject: | matrix multiplikation || C#-Wrapper |
hi guys, i'm trying to do some matrix multiplikation, but i don't finde a way in C#. my target is to get the absolut position from a 3D-object to set up another 3D-object. private float[] _myAbsMatr; private float[] _myRelMatr; Horde3D.getNodeTransformMatrices(Application._canon, _myRelMatr, _myAbsMatr); tanks a lot aDouble |
Author: | Volker [ 18.06.2009, 11:40 ] |
Post subject: | Re: matrix multiplikation || C#-Wrapper |
Try this one: Code: IntPtr relMat, absMat; Horde3D.getNodeTransformMatrices(light, out relMat, out absMat); float[] dest = new float[16]; Marshal.Copy( absMat, dest, 0, 16); |
Author: | aDoubleSo [ 18.06.2009, 12:06 ] |
Post subject: | Re: matrix multiplikation || C#-Wrapper |
great... thanks a lot!!! |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |