-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
ensure 3d points' 4th coordinate is set to 1 #6362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
ensure 3d points' 4th coordinate is set to 1 #6362
Conversation
… behave as expected for custom point types without additional constructors
|
How can i re-run the checks? Cant see why CI cannot build it. |
|
Since the CI logs keep getting deleted after 2 weeks or so: Honestly not sure how to solve this. Maybe adding a note to the documentation instead is sufficient? |
|
It seems to build with the latest change. I can't explain the previous error either, but initializing the |
|
Nevermind, the change fixes build on gcc/clang, but msvc is still unhappy. |
wat |
0c3c3c1 to
639f9fa
Compare
|
I am also unsuccessfull reproducing this with godbolt: https://godbolt.org/z/hKnb1KWzr it compiles and runs normally in x64 msvc, but does not even run with x86 msvc, but also no compile error. Maybe we need the same compile flags which the PCL CI uses, but i think I won't be able to fix this, since i don't know anything about windows development. we could add a hint in the documentation, but i doubt this will save anyone from wasting many hours on this before they think to look there. |
639f9fa to
68da5a0
Compare
to make vector4f maps to behave as expected for custom point types without additional constructors.
Got bitten by this since i made a custom point type without custom constructor and a library was expecting the points to be homogeneous and computed hard to debug garbage.