Skip to content
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

Support for uom #28

Open
ElliotB256 opened this issue Apr 27, 2021 · 2 comments
Open

Support for uom #28

ElliotB256 opened this issue Apr 27, 2021 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@ElliotB256
Copy link
Collaborator

I would like to use the uom crate to define quantities in atomecs.
https://github.com/iliekturtles/uom

Advantages:

  • Compile-time dimensional analysis
  • No runtime overhead
  • Convenience to define in whatever unit is appropriate at the time
  • No incorrect conversions

I had tried previously but was not able to because of the incompatibility of Vector3<> from nalgebra with uom. There have been a few updates to the package since then and it is worth revisiting.

@ElliotB256 ElliotB256 added the enhancement New feature or request label Apr 27, 2021
@ElliotB256 ElliotB256 added this to the Core upgrades milestone Jan 13, 2022
@ElliotB256
Copy link
Collaborator Author

Switching to another ECS such as legion or bevy may solve this implicitly, as both define storage types different from specs.

@ElliotB256
Copy link
Collaborator Author

#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant