diff options
author | tcmal <me@aria.rip> | 2024-08-25 17:44:22 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-08-25 17:44:22 +0100 |
commit | 8004132c918a52af3b2e7b32b4fc72c65fde9e3c (patch) | |
tree | 9e57c80762cfbb50f98bacfb745bbb988acc22a7 /stockton-types/src/components/mod.rs | |
parent | 8c1406f7a42822d1b020cc672ed99d02eb34d22f (diff) |
feat(draw): attach camera position/settings to entity
Diffstat (limited to 'stockton-types/src/components/mod.rs')
-rw-r--r-- | stockton-types/src/components/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stockton-types/src/components/mod.rs b/stockton-types/src/components/mod.rs index 0dd9fe9..6f127c1 100644 --- a/stockton-types/src/components/mod.rs +++ b/stockton-types/src/components/mod.rs @@ -18,7 +18,7 @@ use crate::Vector3; #[derive(Clone, Copy, Debug, PartialEq)] -struct Transform { +pub struct Transform { /// Position of the object pub position: Vector3, @@ -27,7 +27,7 @@ struct Transform { } #[derive(Clone, Copy, Debug, PartialEq)] -struct CameraSettings { +pub struct CameraSettings { /// FOV (radians) pub fov: f32, |