Add trailing commas and clean up formatting #108

Merged
glen merged 5 commits from Vectornaut/dyna3:trailing-commas into main 2025-08-04 23:34:35 +00:00
Showing only changes of commit e67a658e00 - Show all commits

View file

@ -54,11 +54,8 @@ impl SceneSpheres {
}
fn push(
&mut self,
representation: DVector<f64>,
color: ElementColor,
opacity: f32,
highlight: f32,
&mut self, representation: DVector<f64>,
color: ElementColor, opacity: f32, highlight: f32,
) {
self.representations.push(representation);
self.colors_with_opacity.push(combine_channels(color, opacity));
@ -84,12 +81,8 @@ impl ScenePoints {
}
fn push(
&mut self,
representation: DVector<f64>,
color: ElementColor,
opacity: f32,
highlight: f32,
selected: bool,
&mut self, representation: DVector<f64>,
color: ElementColor, opacity: f32, highlight: f32, selected: bool,
) {
self.representations.push(representation);
self.colors_with_opacity.push(combine_channels(color, opacity));