fn encode_vector2(x: &str, y: &str) -> Vector2 {
	let vec_x: f32 = x.trim().parse().expect("Unable to cast to f32");
	let vec_y: f32 = y.trim().parse().expect("Unable to cast to f32");

	return Vector2::new(vec_x, vec_y);
}
/// Returns a Vector2 at the specified (x, y) location.
///
/// # Arguments
///
/// `x` - The x position of the Vector2.
/// `y` - The y position of the Vector2.
Returns a Vector2 at the specified (x, y) location.
Returns a Vector2 at the specified ( x y ) location .
fn encode_vector2(x: &str, y: &str) -> Vector2 {
	let vec_x: f32 = x.trim().parse().expect("Unable to cast to f32");
	let vec_y: f32 = y.trim().parse().expect("Unable to cast to f32");
	return Vector2::new(vec_x, vec_y);
}
fn encode_vector2 ( x : & str , y : & str ) -> Vector2 { let vec_x : f32 = x . trim ( ) . parse ( ) . expect ( " " ) ; let vec_y : f32 = y . trim ( ) . parse ( ) . expect ( " " ) ; return Vector2 :: new ( vec_x , vec_y ) ; }
Returns a Vector2 at the specified (x, y) location.
Returns a Vector2 at the specified ( x y ) location .
x
&str
y
&str