fn encode_transform2d(
	x_axis_vec: Vector2,
	y_axis_vec: Vector2,
	origin_vec: Vector2,
) -> Transform2D {
	return Transform2D::row_major(
		x_axis_vec.x,
		x_axis_vec.y,
		y_axis_vec.x,
		y_axis_vec.y,
		origin_vec.x,
		origin_vec.y,
	);
}
/// Returns a Transform2D with the provided x, y, and origin vectors.
///
/// # Arguments
///
/// `transform2d_init` - The values provided for the Transform2D.
Returns a Transform2D with the provided x, y, and origin vectors.
Returns a Transform2D with the provided x y and origin vectors .
fn encode_transform2d(
	x_axis_vec: Vector2,
	y_axis_vec: Vector2,
	origin_vec: Vector2,
) -> Transform2D {
	return Transform2D::row_major(
		x_axis_vec.x,
		x_axis_vec.y,
		y_axis_vec.x,
		y_axis_vec.y,
		origin_vec.x,
		origin_vec.y,
	);
}
fn encode_transform2d ( x_axis_vec : Vector2 , y_axis_vec : Vector2 , origin_vec : Vector2 , ) -> Transform2D { return Transform2D :: row_major ( x_axis_vec . x , x_axis_vec . y , y_axis_vec . x , y_axis_vec . y , origin_vec . x , origin_vec . y , ) ; }
Returns a Transform2D with the provided x, y, and origin vectors.
Returns a Transform2D with the provided x y and origin vectors .
x_axis_vec
Vector2
y_axis_vec
Vector2
origin_vec
Vector2