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
{{ message }}
This repository has been archived by the owner on Jun 6, 2019. It is now read-only.
Also I don't see the point of having specific classes for the different sizes... Just do a WorldPoint class or similar instead which allows up to 4 values, just like DOMPoint.
Also don't you have any use-cases for Vectors?
The text was updated successfully, but these errors were encountered:
This seems very much like a C++, Java way of doing things. You have direct access to x and y, so this makes very little sense.
Also I would follow DOMMatrix and add the following ctors:
unrestricted double makes more sense given that JS works with 64bit doubles.
Then you might want to add
This will replace getCoords()
I also really wonder how useful the equal() method is. It would be super easy to check if needed.
Also disallow empty ctor
Also I don't see the point of having specific classes for the different sizes... Just do a WorldPoint class or similar instead which allows up to 4 values, just like DOMPoint.
Also don't you have any use-cases for Vectors?
The text was updated successfully, but these errors were encountered: