Skip to content

Commit

Permalink
Change f32 to f64 for Transforms
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamaan476 committed Jan 16, 2025
1 parent 53ee92d commit 65becad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modeling-cmds/src/shared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1009,11 +1009,11 @@ pub struct ComponentTransform {
pub translate: Option<TransformBy<Point3d<LengthUnit>>>,
/// Rotate component of the transform.
/// The rotation is specified as a roll, pitch, yaw.
pub rotate_rpy: Option<TransformBy<Point3d<f32>>>,
pub rotate_rpy: Option<TransformBy<Point3d<f64>>>,
/// Rotate component of the transform.
/// The rotation is specified as an axis and an angle (xyz are the components of the axis, w is
/// the angle in degrees).
pub rotate_angle_axis: Option<TransformBy<Point4d>>,
pub rotate_angle_axis: Option<TransformBy<Point4d<f64>>>,
/// Scale component of the transform.
pub scale: Option<TransformBy<Point3d<f32>>>,
pub scale: Option<TransformBy<Point3d<f64>>>,
}

0 comments on commit 65becad

Please sign in to comment.