pub mod camera;
pub mod metadata;
pub mod tracking;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
pub struct UnrealTransform {
pub position: [f64; 3],
pub rotation: [f64; 3],
pub scale: [f64; 3],
}
impl UnrealTransform {
#[must_use]
pub fn new() -> Self {
Self {
position: [0.0, 0.0, 0.0],
rotation: [0.0, 0.0, 0.0],
scale: [1.0, 1.0, 1.0],
}
}
}
impl Default for UnrealTransform {
fn default() -> Self {
Self::new()
}
}