Comments (7)
It is done 😀
from swiftish.
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.
from swiftish.
Yeah, that solves the issue. Well done. 👍
Thank you for update.
Was using:
typealias Vector2i = Vector2<Int>
typealias Vector3i = Vector3<Int>
in my little game projects, because there was all arithmetic in place already.
In a lot of cases Int is enough for express game world, render it in chunks. And Int arithmetic tend to be faster.
I suppose I will define them now as a separate types for my use cases.
from swiftish.
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.
from swiftish.
What operations are you using? Just +, -, *?
from swiftish.
Yes, those and Equatable conformance will do the job.
Thank you very much for interest, appreciate it. 😎
from swiftish.
Awesome 😃 👍
Thank you very much!! 🙇
from swiftish.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftish.