JOML-CI / JOML

A Java math library for OpenGL rendering calculations
MIT License
728 stars 104 forks source link

using 'plusAssign' operate instead of 'plus' #287

Closed leacoleaco closed 3 years ago

leacoleaco commented 3 years ago

I think using 'plusAssign' kotlin operate is better, because call ' a += b ' the user will understand that plus operate may change value of a, but 'c = a + b' may lead to misunderstand that c is a new value, so I implement the 'plusAssign' instead of previous 'plus' operate

httpdigest commented 3 years ago

Thanks!