Comments (3)
Is there a reason i64 and u64 were not included in the integers?
from glam-rs.
Primarily thinking of adding the following initially:
IVec2
,IVec3
,UVec2
,UVec3
- these should be able to use the existingVec2Mask
andVec3Mask
types.- for
f64
I would support everything you can do inf32
but SIMD would not be a high priority. I was planning on using aD
prefix.
The other question is how to implement them behind the scenes. More code duplication? Macros? Learn to love generics? Certainly the easy approach to get it done is code duplication but it will become unmanageable eventually. So probably macros.
from glam-rs.
Current status of this has been done as part of #99 but I still have some things to tidy up.
from glam-rs.
Related Issues (20)
- Vec2::fract() with negative numbers is inconsistent with f32::fract() HOT 5
- Quat::to_euler outputs bigger than PI * 2 at certain angles HOT 13
- Possible Incompleteness HOT 1
- Quat::from_euler truncates rotations to a single rotation HOT 2
- Multiply BVecN and VecN? Implement Into/From for BVecN to VecN with 1.0:s and 0.0:s HOT 1
- Quat / Euler tests fail on Apple Silicon HOT 11
- IVec2 and similar types should be Ord. HOT 1
- Extend `.normalize()` etc. to work for more values HOT 2
- Vec2/3's `angle_between` function is unclear/misleading HOT 16
- Vec2 clamp_length alters vector when length is within specified range HOT 5
- Mutable Swizzles HOT 3
- Inconsistent/missing scalar implementation of le/ge functions for Vec3A compared to sse2 HOT 2
- Any ambitions to implement static comma vectors? HOT 1
- impl From<Vec4> for Vec3A violates conversion is lossless contract
- Batched transforms
- Add methods for swing-twist decomposition to `Quat` HOT 2
- Add helper function to project one vector to a plane HOT 5
- Add `fast_normalize` to `Quat` (and maybe other types) HOT 5
- Feature flag for repr(C) Quat HOT 8
- Make `Vec3A::from_vec4` const HOT 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 glam-rs.