smpl_core/common/smpl_options.rs
1/// Options specifically for the forward pass of smpl family models
2#[derive(Clone)]
3pub struct SmplOptions {
4 pub enable_pose_corrective: bool,
5}
6impl Default for SmplOptions {
7 fn default() -> Self {
8 Self {
9 enable_pose_corrective: true,
10 }
11 }
12}
13impl SmplOptions {
14 pub fn new(enable_pose_corrective: bool) -> Self {
15 Self { enable_pose_corrective }
16 }
17}