public static TestVector3NoBinding operator *(TestVector3NoBinding a, float b) { TestVector3NoBinding res = new TestVector3NoBinding(); res.x = a.x * b; res.y = a.y * b; res.z = a.z * b; return(res); }
public static TestVector3NoBinding operator +(TestVector3NoBinding a, TestVector3NoBinding b) { TestVector3NoBinding res = new TestVector3NoBinding(); res.x = a.x + b.x; res.y = a.y + b.y; res.z = a.z + b.z; return(res); }