EWUP525BMEMX2GCD4FFHTYLO74TBKXJSILFMRQMPOX7ZWZU3JZZQC
impl std::ops::Mul<f64> for V3 {
type Output = V3;
fn mul(self, f: f64) -> Self::Output {
V3 {
x: self.x * f,
y: self.y * f,
z: self.z * f
}
}
}
impl std::ops::Add<V3> for V3 {
type Output = V3;
fn add(self, rhs: V3) -> V3 {
V3 {
x: self.x + rhs.x,
y: self.y + rhs.y,
z: self.z + rhs.z
}
}
}