Exemple #1
0
 public static Vector3 GetAxis(this Joint.Axis axis)
 {
     return(new Vector3(
                (float)-axis.xyz[1],
                (float)axis.xyz[2],
                (float)axis.xyz[0]));
 }
Exemple #2
0
 public static Vector3 GetDefaultAxis(this Joint.Axis axis)
 {
     return(new Vector3(-1, 0, 0));
 }