-
Notifications
You must be signed in to change notification settings - Fork 20
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
Type constructors #12
Comments
I still feel that mint shouldn't be making any effort to handle this type of use. If hand-constructed values absolutely must be provided to some interface, and |
Not sure if this is the correct issue to ask on: but are there plans to add |
@rep-nop we haven't considered that yet. What would be the use case? |
Same as |
I believe the main reason for |
Writing down
mint::Vector3::new(x,y,z)
can be often replaced with[x,y,z].into()
, but the former is more familiar to many and somewhat clearer. Problem with that is - introducing methods, where currently there is none. We may decide to only allow simple constructors, likenew
.The text was updated successfully, but these errors were encountered: