I am attempting to implement the generic Vector3 struct, and havethe operators for my struct that allows basic math when the type T is a numeric (int, float, double, long, short)
I had thought the way to do this was to just define the 4 basic operators for all each something like
public static Vector3<int> operator +(Vector3<int> left, Vector3<int> right)
but that gives me the error that at least one of the parameters must be of the containing type (which is Vector3 in this case)
I feel reasonably confident there is a way for me to define a Vector3 generic, and still have the convenience of the standard operators, but I can not seem to figure out what I need to write syntactically.