Hi, Dan used the following method for his vector class:
void opOpAssign (string op:"+=")(ref Vector3 other) {...}Why the "ref"? As I understand it, objects of class vector would already be passed as references. Larry
Hi, Dan used the following method for his vector class:
void opOpAssign (string op:"+=")(ref Vector3 other) {...}Why the "ref"? As I understand it, objects of class vector would already be passed as references. Larry