google / mathfu

C++ math library developed primarily for games focused on simplicity and efficiency.
http://google.github.io/mathfu
Apache License 2.0
1.39k stars 189 forks source link

Is this page wrong? I think there should be no parentheses. #46

Open offchan42 opened 3 years ago

offchan42 commented 3 years ago

Is this page wrong? I think there should be no parentheses.

http://google.github.io/mathfu/mathfu_guide_building.html image

offchan42 commented 3 years ago

I have compiled the code and it fails. When I remove the parentheses then it works.

jacmoe commented 3 years ago

If you take a look at the release notes for the latest version:

The 1.1.0 release of MathFu improves the syntax for accessing x, y, z, w components of a vector (no more parentheses!).

I guess they forgot to update the documentation ;)