Exemple #1
0
 public static void addTfmMatrixtoTransform(TransformMatrix tfm, libCoin3D.Transform transform)
 {
     transform.setTransform(tfm.Array[0][0], tfm.Array[0][1], tfm.Array[0][2],
                            tfm.Array[1][0], tfm.Array[1][1], tfm.Array[1][2],
                            tfm.Array[2][0], tfm.Array[2][1], tfm.Array[2][2],
                            tfm.Array[0][3], tfm.Array[1][3], tfm.Array[2][3]);
 }
Exemple #2
0
 public libCoin3D.Transform ToTransform()
 {
     libCoin3D.Transform transform = new libCoin3D.Transform();
     transform.setTransform(Array[0][0], Array[0][1], Array[0][2],
                            Array[1][0], Array[1][1], Array[1][2],
                            Array[2][0], Array[2][1], Array[2][2],
                            Array[0][3], Array[1][3], Array[2][3]);
     return(transform);
 }