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)
10use super::types::SleepParams;
11
12impl Default for SleepParams {
13 fn default() -> Self {
14 Self {
15 linear_threshold: 0.01,
16 angular_threshold: 0.01,
17 sleep_frames: 10,
18 }
19 }
20}