@@ -121,13 +121,13 @@ impl CustomConst for ConstRotation {
121
121
#[ non_exhaustive]
122
122
/// Rotation operations
123
123
pub enum RotationOp {
124
- /// Construct rotation from a floating point number of half-turns (would be multiples of π in radians).
124
+ /// Construct rotation from a floating point number of half-turns (would be multiples of PI in radians).
125
125
/// Returns an Option, failing when the input is NaN or infinite.
126
126
from_halfturns,
127
- /// Construct rotation from a floating point number of half-turns (would be multiples of π in radians).
127
+ /// Construct rotation from a floating point number of half-turns (would be multiples of PI in radians).
128
128
/// Panics if the input is NaN or infinite.
129
129
from_halfturns_unchecked,
130
- /// Convert rotation to number of half-turns (would be multiples of π in radians).
130
+ /// Convert rotation to number of half-turns (would be multiples of PI in radians).
131
131
to_halfturns,
132
132
/// Add two angles together (experimental, may be removed, use float addition
133
133
/// first instead if possible).
@@ -166,13 +166,13 @@ impl MakeOpDef for RotationOp {
166
166
fn description ( & self ) -> String {
167
167
match self {
168
168
RotationOp :: from_halfturns => {
169
- "Construct rotation from number of half-turns (would be multiples of π in radians). Returns None if the float is non-finite."
169
+ "Construct rotation from number of half-turns (would be multiples of PI in radians). Returns None if the float is non-finite."
170
170
}
171
171
RotationOp :: from_halfturns_unchecked => {
172
- "Construct rotation from number of half-turns (would be multiples of π in radians). Panics if the float is non-finite."
172
+ "Construct rotation from number of half-turns (would be multiples of PI in radians). Panics if the float is non-finite."
173
173
}
174
174
RotationOp :: to_halfturns => {
175
- "Convert rotation to number of half-turns (would be multiples of π in radians)."
175
+ "Convert rotation to number of half-turns (would be multiples of PI in radians)."
176
176
}
177
177
RotationOp :: radd => "Add two angles together (experimental)." ,
178
178
}
0 commit comments