Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

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

Open
offchan42 opened this issue Dec 6, 2020 · 2 comments
Open

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

offchan42 opened this issue Dec 6, 2020 · 2 comments

Comments

@offchan42
Copy link

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

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

@offchan42
Copy link
Author

offchan42 commented Dec 6, 2020

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

@jacmoe
Copy link

jacmoe commented Feb 15, 2021

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 ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants