#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub enum GltfInterpolationMode {
Step,
#[default]
Linear,
CubicSpline,
}
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub enum GltfAnimationPath {
#[default]
Translation,
Rotation,
Scale,
MorphWeights,
}
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum GltfCameraProjection {
Perspective {
yfov_rad: f32,
aspect_ratio: Option<f32>,
znear: f32,
zfar: Option<f32>,
},
Orthographic {
xmag: f32,
ymag: f32,
znear: f32,
zfar: f32,
},
}
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum GltfLightKind {
Directional,
Point {
range: Option<f32>,
},
Spot {
range: Option<f32>,
inner_cone_angle: f32,
outer_cone_angle: f32,
},
Area {
width: f32,
height: f32,
},
}