mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-24 06:51:30 +11:00
Fix warnings
This commit is contained in:
parent
878f2d1dcb
commit
c14bf88bd1
14
src/util.rs
14
src/util.rs
|
@ -66,10 +66,10 @@ pub fn to_yaw_and_pitch(d: Vec3<f64>) -> (f32, f32) {
|
||||||
(yaw, pitch)
|
(yaw, pitch)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Takes yaw and pitch angles (in degrees) and returns a normalized direction
|
// /// Takes yaw and pitch angles (in degrees) and returns a normalized direction
|
||||||
/// vector.
|
// /// vector.
|
||||||
///
|
// ///
|
||||||
/// This function is the inverse of [`to_yaw_and_pitch`].
|
// /// This function is the inverse of [`to_yaw_and_pitch`].
|
||||||
pub fn from_yaw_and_pitch(yaw: f32, pitch: f32) -> Vec3<f64> {
|
// pub fn from_yaw_and_pitch(yaw: f32, pitch: f32) -> Vec3<f64> {
|
||||||
todo!()
|
// todo!()
|
||||||
}
|
// }
|
||||||
|
|
Loading…
Reference in a new issue