pub fn round(self) -> Vec4<T> {
        Vec4 {
            x: self.x.round(),
            y: self.y.round(),
            z: self.z.round(),
            w: self.w.round(),
        }
    }
/// Rounds all components of this vector to the nearest integer number.
/// # Example
/// ```
/// use cable_math::Vec4;
///
/// let a = Vec4::new(3.4, 2.7, -1.2, 0.1);
/// let b = Vec4::new(3.0, 3.0, -1.0, 0.0);
///
/// assert_eq!(a.round(), b);
Rounds all components of this vector to the nearest integer number.
Rounds all components of this vector to the nearest integer number .
pub fn round(self) -> Vec4<T> {
        Vec4 {
            x: self.x.round(),
            y: self.y.round(),
            z: self.z.round(),
            w: self.w.round(),
        }
    }
pub fn round ( self ) -> Vec4 < T > { Vec4 { x : self . x . round ( ) , y : self . y . round ( ) , z : self . z . round ( ) , w : self . w . round ( ) , } }
Rounds all components of this vector to the nearest integer number.
Rounds all components of this vector to the nearest integer number .
self
self
example
```
use cable_math::Vec4.




` ` ` use cable_math :: Vec4 .