mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-10 12:58:28 +00:00
Derive some traits for Scalar
This commit is contained in:
parent
864e08b565
commit
112efe123a
@ -1,6 +1,6 @@
|
|||||||
pub type Point = [Scalar; 3];
|
pub type Point = [Scalar; 3];
|
||||||
|
|
||||||
#[derive(Clone, Copy)]
|
#[derive(Clone, Copy, PartialEq, PartialOrd)]
|
||||||
pub struct Scalar {
|
pub struct Scalar {
|
||||||
value: f64,
|
value: f64,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user