Closed jalberse closed 10 months ago
This doesn't impact performance as the structs are so small, but it does make callsites a bit cleaner.
For generic functions like lerp(), this is also better since you could just implement the trait bounds on &T if you want to pass by reference.
This doesn't impact performance as the structs are so small, but it does make callsites a bit cleaner.
For generic functions like lerp(), this is also better since you could just implement the trait bounds on &T if you want to pass by reference.