public static System.Numerics.Vector2 ToVector2(this rlbot.flat.Vector3 vec) { return(new System.Numerics.Vector2(vec.X, vec.Y)); }
private Vector3 fromFramework(rlbot.flat.Vector3 v) { return(new Vector3(v.X, v.Y, v.Z)); }
/// <summary> /// Converts a flatbuffers vector to a System.Numerics vector. /// </summary> /// <param name="vector">The flatbuffers vector.</param> /// <returns>Returns a System.Numerics vector.</returns> public static Vector3 ToVector3(this rlbot.flat.Vector3 vector) { return(new Vector3(vector.X, vector.Y, vector.Z)); }
public static System.Numerics.Vector3 ToVector3(this rlbot.flat.Vector3 vector) { return(new System.Numerics.Vector3(vector.X, vector.Y, vector.Z)); }
public static Vector3 ToVector3(rlbot.flat.Vector3 vec) { return(new Vector3(vec.X, vec.Y, vec.Z)); }