Пример #1
0
 public Vector3T <TR> Operate <TR, T1, T2>(Vector3T <T1> b, Vector3T <T2> c, System.Func <Axis, T, T1, T2, TR> operation)
 {
     return(new Vector3T <TR>(
                operation(Axis.X, x, b.x, c.x),
                operation(Axis.Y, y, b.y, c.y)
                ));
 }
Пример #2
0
 public Vector3T <T> Operate(Vector3T <T> b, System.Func <Axis, T, T, T> operation)
 {
     return(new Vector3T <T>(
                operation(Axis.X, x, b.x),
                operation(Axis.Y, y, b.y),
                operation(Axis.Z, z, b.z)
                ));
 }
Пример #3
0
 public Vector3T <TR> Operate <TR, T1>(Vector3T <T1> b, System.Func <Axis, T, T1, TR> operation)
 {
     return(new Vector3T <TR>(
                operation(Axis.X, x, b.x),
                operation(Axis.Y, y, b.y),
                operation(Axis.Z, z, b.z)
                ));
 }
Пример #4
0
 public Vector2T(Vector3T <T> vector3T)
 {
     this.x = vector3T.x;
     this.y = vector3T.y;
 }
Пример #5
0
 public Vector3Float(Vector3T <float> vector)
 {
     this.x = vector.x;
     this.y = vector.y;
     this.z = vector.z;
 }
Пример #6
0
 public Vector3Int(Vector3T <int> vector)
 {
     this.x = vector.x;
     this.y = vector.y;
     this.z = vector.z;
 }
Пример #7
0
 public Vector3Bool(Vector3T <bool> vector)
 {
     this.x = vector.x;
     this.y = vector.y;
     this.z = vector.z;
 }