Simplify operator overloading for struct and &struct?

前端 未结 0 677
小蘑菇
小蘑菇 2020-12-06 20:05

Consider the following vector struct:

struct Vec3([f64; 3]);

I\'d like to be able to use the + operator when dealing with these

相关标签:
回答
  • 消灭零回复
提交回复
热议问题