-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
More undefined reference errors #490
More undefined reference errors #490
Conversation
These don't seem to have matching definitions and they conflict with similar functions in the glm namespace (in the same header files).
I agree that "friend operator/" looks like (very) old left over and actually U can't remember what was the use of this. I think the conversion of tvec1 should be v1 - v2 style like other vector types. This said, I don't believe any of this is really consistent. |
Alright, I think I've got them all (ready for review). I removed Both Some operator declarations for I have to admit that I don't really even know what a dual quaternion is used for (I have a limited understanding of normal quaternions), so these should really be checked by someone who knows more about them. |
More undefined reference errors #490
This is a really good work! Thanks for contributing! |
Continuing from #488 and #489...
I found more undefined references with different operator functions. I thought I got them all with the last PR, but noticed that I didn't have
operator/
working yet.This is still work-in-progress and I'd like some feedback:
friend operator/
member functions frommat2x2
,mat3x3
andmat4x4
.friend
s in the entire code base.glm
namespace (undefined reference
errors if you use them).operator
functions withtvec1
parameters.v1
orv2
(because it's a vector type).scalar
(one-dimensional vector, so it's a single number).v1
andv2
, because that's whattvec2
called them, but I noticed this a bit inconsistent.I'd also like to take a closer look (probably tomorrow) to see if I can find any more of these. There are plenty of operators I'm not (yet) wrapping with SWIG, but I might as well get them all fixed in one go (if I find any more).