diff options
author | tcmal <me@aria.rip> | 2024-08-25 17:44:24 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-08-25 17:44:24 +0100 |
commit | 6367a9ba5a549b62f01da61fb50323877b9f52ff (patch) | |
tree | eb83ed6487f2ec35f9ea1e97124c9a173b8ceef0 /examples/render-quad/src/level.rs | |
parent | f84ec1a3e077fa0f2e9cd310b6e32e81f1bc1129 (diff) |
refactor(all): move types to -skeleton
Diffstat (limited to 'examples/render-quad/src/level.rs')
-rw-r--r-- | examples/render-quad/src/level.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/render-quad/src/level.rs b/examples/render-quad/src/level.rs index d10c3b6..74d1cc3 100644 --- a/examples/render-quad/src/level.rs +++ b/examples/render-quad/src/level.rs @@ -2,6 +2,7 @@ use stockton_levels::parts::{ data::{FaceRef, Geometry, TextureRef}, HasFaces, HasTextures, HasVisData, IsFace, IsTexture, }; +use stockton_skeleton::components::{CameraSettings, Transform}; pub struct DemoLevel { pub faces: Box<[Face]>, @@ -70,8 +71,8 @@ impl<'a> HasVisData<'a> for DemoLevel { fn get_visible( &'a self, - _transform: &stockton_types::components::Transform, - _settings: &stockton_types::components::CameraSettings, + _transform: &Transform, + _settings: &CameraSettings, ) -> Self::Faces { 0..self.faces.len() as u32 } |