-
Notifications
You must be signed in to change notification settings - Fork 2
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
[Known issue] Swift Compiler Error #3
Comments
I've actually rewritten the library, but haven't pushed it up yet though. I took out support for everything but Float and Double to help simplify things since integers don't support trig functions and division truncates. This was a big API change though, but I feel it will make things easier in the long run and improves the time it takes to compile also. I'll go ahead and put a new version right now. |
Yeah, that solves the issue. Well done. 👍 Was using:
in my little game projects, because there was all arithmetic in place already. I suppose I will define them now as a separate types for my use cases. |
I would be OK with adding Int support back but after battling with the compiler and doing some research I have learned that Swift seems to prefer them to be separate and distinct from the Float variants. |
What operations are you using? Just +, -, *? |
Yes, those and Equatable conformance will do the job. |
It is done 😀 |
Awesome 😃 👍 |
In Xcode Version 9.3 (9E145)
The fallowing files, won't compile because of compiler issue.
Quaternion.swift
Transform3.swift
Reported a bug for that.
The text was updated successfully, but these errors were encountered: