public static ComponentwiseProduct ( Vector2 a, Vector2 b ) : Vector2 | ||
a | Vector2 | |
b | Vector2 | |
return | Vector2 |
public static Vector2 ComponentwiseProduct(Vector2 a, Vector2 b)
{
return new Vector2(a.X * b.X, a.Y * b.Y);
}