On Windows near and far are macros and cannot be used as variable names.
Number Ray::boxIntersect(const Vector3 &box, const Matrix4 &transformMatrix, float near, float far) const uses these variable names and it works as they are parameters. But in the wrapper headerfiles for the scripting languages this does not work!
On Windows near and far are macros and cannot be used as variable names.
Number Ray::boxIntersect(const Vector3 &box, const Matrix4 &transformMatrix, float near, float far) const
uses these variable names and it works as they are parameters. But in the wrapper headerfiles for the scripting languages this does not work!https://github.com/ivansafrin/Polycode/blob/goodbye_cmake/include/polycode/bindings/javascript/PolycodeJSWrappers.h#L4459 https://github.com/ivansafrin/Polycode/blob/goodbye_cmake/include/polycode/bindings/lua/PolycodeLuaWrappers.h#L10806
Possible fix: rename the parameters