You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered: