Derive some traits for Scalar

This commit is contained in:
Hanno Braun 2024-11-06 19:15:44 +01:00
parent 864e08b565
commit 112efe123a

View File

@ -1,6 +1,6 @@
pub type Point = [Scalar; 3];
#[derive(Clone, Copy)]
#[derive(Clone, Copy, PartialEq, PartialOrd)]
pub struct Scalar {
value: f64,
}