rustgd / cgmath

A linear algebra and mathematics library for computer graphics.
https://docs.rs/cgmath
Apache License 2.0
1.12k stars 155 forks source link

Add From<Vector> for Point #545

Open ncihnegn opened 2 years ago

ncihnegn commented 2 years ago

so that Point can use unit_x() etc.

ncihnegn commented 2 years ago

I see there is from_vec(). Why not implement From?