-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Geometry types #95
Comments
Note: 32-bit integers are more than enough for pixel sizes on any screen imaginable, yet one can still hit their limits: calculating size requirements for very large lazily-instantiated lists of items (as in |
Another option:
However, the There remains a question of whether to rename the above ( For our |
#152 was supposed to reference this PR since it revised the geometry types. My decision (for now) is to keep the |
Since #152 all sizing and layout is done using the For scrolling, it would be nice to use |
Currently KAS uses ad-hoc geometric types, because this was the fastest way to get started. There are several disadvantages however (frequent API extensions when required, some lack of uniformity of design).
There are already several vector / linear algebra libraries; one of these may suffice (although most include significantly more functionality than we require):
Both Vek and Euclid may be viable choices. Euclid may make for easier interoperation with Lyon for an embedded canvas (as Iced now supports).
Coordinate system
Currently we place the origin at the top-left. Since version 0.5 WebGPU, now places the origin at the bottom-left. Should we also flip the Y axis?
The text was updated successfully, but these errors were encountered: