greenfork / nimraylib_now

The Ultimate Raylib gaming library wrapper for Nim
MIT License
149 stars 16 forks source link

[Suggestion] rename vector math operations to the mathematical symbols #6

Closed HugoP707 closed 3 years ago

HugoP707 commented 3 years ago

Such as VectorXAdd -> +

greenfork commented 3 years ago

We have this: https://github.com/greenfork/nimraylib_now#raymath-infix-operators

Implemented here: https://github.com/greenfork/nimraylib_now/blob/master/src/nimraylib_now/raymath.nim#L475

Let me know if I'm missing something. So far I did it for simple arithmetic operations +-*/

HugoP707 commented 3 years ago

sorry, im dumb :P