mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-23 14:31: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)
|
||||
}
|
||||
|
||||
/// Takes yaw and pitch angles (in degrees) and returns a normalized direction
|
||||
/// vector.
|
||||
///
|
||||
/// This function is the inverse of [`to_yaw_and_pitch`].
|
||||
pub fn from_yaw_and_pitch(yaw: f32, pitch: f32) -> Vec3<f64> {
|
||||
todo!()
|
||||
}
|
||||
// /// Takes yaw and pitch angles (in degrees) and returns a normalized direction
|
||||
// /// vector.
|
||||
// ///
|
||||
// /// This function is the inverse of [`to_yaw_and_pitch`].
|
||||
// pub fn from_yaw_and_pitch(yaw: f32, pitch: f32) -> Vec3<f64> {
|
||||
// todo!()
|
||||
// }
|
||||
|
|
Loading…
Reference in a new issue