>,
diff --git a/src/drivers/look_at.rs b/src/drivers/look_at.rs
index c1bf618..7b2ea16 100644
--- a/src/drivers/look_at.rs
+++ b/src/drivers/look_at.rs
@@ -28,7 +28,6 @@ pub struct LookAt {
}
impl LookAt {
- ///
pub fn new(target: P) -> Self
where
P: Into>,
diff --git a/src/drivers/position.rs b/src/drivers/position.rs
index 7347a40..572907b 100644
--- a/src/drivers/position.rs
+++ b/src/drivers/position.rs
@@ -21,7 +21,6 @@ impl Default for Position {
}
impl Position {
- ///
pub fn new(position: P) -> Self
where
P: Into>,
diff --git a/src/rig.rs b/src/rig.rs
index 48f3846..7156517 100644
--- a/src/rig.rs
+++ b/src/rig.rs
@@ -9,23 +9,16 @@ use std::marker::PhantomData;
/// A chain of drivers, calculating displacements, and animating in succession.
#[derive(Debug)]
pub struct CameraRig {
- ///
pub drivers: Vec>>,
-
- ///
pub final_transform: Transform,
-
phantom: PhantomData,
}
// Prevents user calls to `RigDriver::update`. All updates must come from `CameraRig::update`.
struct RigUpdateToken;
-///
pub struct RigUpdateParams<'a, H: Handedness> {
- ///
pub parent: &'a Transform,
- ///
pub delta_time_seconds: f32,
phantom: PhantomData,
@@ -98,20 +91,17 @@ impl CameraRig {
}
}
-///
pub struct CameraRigBuilder {
drivers: Vec>>,
phantom: PhantomData,
}
impl CameraRigBuilder {
- ///
pub fn with(mut self, driver: impl RigDriverTraits) -> Self {
self.drivers.push(Box::new(driver));
self
}
- ///
pub fn build(self) -> CameraRig {
let mut rig = CameraRig {
drivers: self.drivers,
diff --git a/src/transform.rs b/src/transform.rs
index af151eb..3871e2c 100644
--- a/src/transform.rs
+++ b/src/transform.rs
@@ -13,7 +13,6 @@ pub struct Transform {
}
impl Transform {
- ///
pub fn from_position_rotation(position: P, rotation: Q) -> Self
where
P: Into>,
@@ -29,7 +28,6 @@ impl Transform {
}
}
- ///
pub fn into_position_rotation(self) -> (P, Q)
where
P: From>,
@@ -65,7 +63,6 @@ impl Transform {
From::from((rotation * H::FORWARD).into())
}
- ///
pub const IDENTITY: Transform = Transform {
position: mint::Point3 {
x: 0.0,