Something wrong with bitfieldReverse in kotlin-graphics/glm?
已回答
I get an error with the bitfieldReverse function in the glm library.
When looking into the code in https://github.com/kotlin-graphics/glm/blob/master/src/main/kotlin/glm_/func/funcInteger.kt , it should work with an Int Argument.
I have also tested other functions (e.g. bitfieldInsert) in the same code and they work fine.
Any idea? Is the problem possibly about using the proper version of that library?
import glm_.glm.bitfieldReversefun main() { bitfieldReverse(0b1100001010)}

请先登录再写评论。
Hi! I reproduced the issue, but it looks like this is a problem of glm library. Please file an issue here - https://github.com/kotlin-graphics/glm/issues.
Done: https://github.com/kotlin-graphics/glm/issues/47
As I suspected in the beginning, it was about using the right library versions.
See details in https://github.com/kotlin-graphics/glm/issues/47 .