Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
FredrikNoren committed Mar 2, 2023
1 parent 0e24982 commit ef35372
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/src/shared/player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::{io::Write, sync::Arc};
use ambient_audio::AudioListener;
use ambient_core::{
camera::{active_camera, aspect_ratio_from_window},
main_scene, runtime,
runtime,
};
use ambient_ecs::{query, query_mut, Entity, SystemGroup};
use ambient_element::{element_component, Element, Hooks};
Expand Down
6 changes: 3 additions & 3 deletions crates/cameras/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use ambient_core::{camera::*, transform::*, ui_scene, window_logical_size};
use ambient_ecs::{components, query, query_mut, Description, Name, Networked, Store, SystemGroup};
use ambient_core::{camera::*, transform::*, ui_scene};
use ambient_ecs::{components, Networked, Store, SystemGroup};
use ambient_element::{element_component, Element, Hooks};
use ambient_std::shapes::BoundingBox;
use glam::{Mat4, Quat, Vec3};
use glam::{Quat, Vec3};
use winit::event::Event;

use crate::{free::free_camera_system, spherical::spherical_camera_system};
Expand Down
4 changes: 2 additions & 2 deletions crates/text/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use std::{num::NonZeroU32, ops::Deref, sync::Arc};

use ambient_core::{asset_cache, async_ecs::async_run, gpu, mesh, name, runtime, transform::*, ui_scene, window_scale_factor};
use ambient_core::{asset_cache, async_ecs::async_run, gpu, mesh, runtime, transform::*, window_scale_factor};
use ambient_ecs::{components, query, query_mut, Debuggable, Description, Entity, Name, Networked, Store, SystemGroup};
use ambient_gpu::{mesh_buffer::GpuMesh, texture::Texture};
use ambient_renderer::{color, gpu_primitives, material, primitives, renderer_shader, SharedMaterial};
use ambient_renderer::{gpu_primitives, material, primitives, renderer_shader, SharedMaterial};
use ambient_std::{
asset_cache::{AssetCache, AsyncAssetKey, AsyncAssetKeyExt},
asset_url::AbsAssetUrl,
Expand Down
5 changes: 2 additions & 3 deletions guest/rust/examples/text/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
use ambient_api::{
components::core::{
app::{main_scene, ui_scene},
app::ui_scene,
camera::{orthographic_bottom, orthographic_left, orthographic_right, orthographic_top},
game_objects::player_camera,
transform::{lookat_center, translation},
},
concepts::{make_orthographic_camera, make_perspective_infinite_reverse_camera},
concepts::make_orthographic_camera,
prelude::*,
};
use ambient_element::{element_component, Element, ElementComponentExt, Hooks};
Expand Down

0 comments on commit ef35372

Please sign in to comment.