public Vector6 Local2Local(Transform fromT, Transform toT) { var tV = new Vector6(); for (int i = 0; i < 3; i++) { tV.Add(toT.InverseTransformDirection(fromT.TransformDirection(negative.Component(i)))); tV.Add(toT.InverseTransformDirection(fromT.TransformDirection(positive.Component(i)))); } return(tV); }
public Vector6 InverseTransform(Transform T) { var tV = new Vector6(); for (int i = 0; i < 3; i++) { tV.Add(T.InverseTransformDirection(negative.Component(i))); tV.Add(T.InverseTransformDirection(positive.Component(i))); } return(tV); }