Skip to main content

oxiphysics_gpu/kernels/rigid/
sleepparams_traits.rs

1//! # SleepParams - Trait Implementations
2//!
3//! This module contains trait implementations for `SleepParams`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11#[allow(unused_imports)]
12use super::functions::*;
13use super::types::SleepParams;
14
15impl Default for SleepParams {
16    fn default() -> Self {
17        Self {
18            linear_threshold: 0.01,
19            angular_threshold: 0.01,
20            sleep_frames: 10,
21        }
22    }
23}