Пример #1
0
 public static IVector3 operator -(IVector3 one, Vector3 other)
 {
     return(IVector3.Create(one.x - other.x, one.y - other.y, one.z - other.z));
 }
Пример #2
0
 public static IVector3 Create(float x, float y, float z)
 {
     return(IVector3.Create(IFloat.Create(x), IFloat.Create(y), IFloat.Create(z)));
 }
Пример #3
0
 public static IVector3 operator +(Vector3 one, IVector3 other)
 {
     return(IVector3.Create(one.x + other.x, one.y + other.y, one.z + other.z));
 }
Пример #4
0
 public static IVector3 Create(Vector3 v)
 {
     return(IVector3.Create(IFloat.Create(v.x), IFloat.Create(v.y), IFloat.Create(v.z)));
 }