Skip to content

Commit 65becad

Browse files
committed
Change f32 to f64 for Transforms
1 parent 53ee92d commit 65becad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modeling-cmds/src/shared.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,11 +1009,11 @@ pub struct ComponentTransform {
10091009
pub translate: Option<TransformBy<Point3d<LengthUnit>>>,
10101010
/// Rotate component of the transform.
10111011
/// The rotation is specified as a roll, pitch, yaw.
1012-
pub rotate_rpy: Option<TransformBy<Point3d<f32>>>,
1012+
pub rotate_rpy: Option<TransformBy<Point3d<f64>>>,
10131013
/// Rotate component of the transform.
10141014
/// The rotation is specified as an axis and an angle (xyz are the components of the axis, w is
10151015
/// the angle in degrees).
1016-
pub rotate_angle_axis: Option<TransformBy<Point4d>>,
1016+
pub rotate_angle_axis: Option<TransformBy<Point4d<f64>>>,
10171017
/// Scale component of the transform.
1018-
pub scale: Option<TransformBy<Point3d<f32>>>,
1018+
pub scale: Option<TransformBy<Point3d<f64>>>,
10191019
}

0 commit comments

Comments
 (0)