diff options
Diffstat (limited to 'stockton-types')
-rw-r--r-- | stockton-types/src/components/mod.rs | 4 | ||||
-rw-r--r-- | stockton-types/src/session.rs | 2 |
2 files changed, 3 insertions, 3 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, diff --git a/stockton-types/src/session.rs b/stockton-types/src/session.rs index 8e48b59..a119830 100644 --- a/stockton-types/src/session.rs +++ b/stockton-types/src/session.rs @@ -22,7 +22,7 @@ use legion::*; /// A loaded world. pub struct Session { - world: World, + pub world: World, resources: Resources, schedule: Schedule, } |