engine: add aliases for engine_ crates
parent
fab7c59038
commit
296006a280
|
@ -18,6 +18,7 @@ rust_library(
|
||||||
"scripting.rs",
|
"scripting.rs",
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
|
"//engine/input",
|
||||||
"//engine/util",
|
"//engine/util",
|
||||||
"//engine/physics",
|
"//engine/physics",
|
||||||
"//engine/render",
|
"//engine/render",
|
||||||
|
|
|
@ -14,5 +14,9 @@
|
||||||
// You should have received a copy of the GNU General Public License along with
|
// You should have received a copy of the GNU General Public License along with
|
||||||
// Abrasion. If not, see <https://www.gnu.org/licenses/>.
|
// Abrasion. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
pub use engine_input as input;
|
||||||
pub mod globals;
|
pub mod globals;
|
||||||
|
pub use engine_physics as physics;
|
||||||
|
pub use engine_render as render;
|
||||||
|
pub use engine_util as util;
|
||||||
pub mod scripting;
|
pub mod scripting;
|
||||||
|
|
|
@ -20,10 +20,6 @@ rust_binary(
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
"//engine",
|
"//engine",
|
||||||
"//engine/input",
|
|
||||||
"//engine/util",
|
|
||||||
"//engine/physics",
|
|
||||||
"//engine/render",
|
|
||||||
"//lib/ecs",
|
"//lib/ecs",
|
||||||
"//third_party/cargo:cgmath",
|
"//third_party/cargo:cgmath",
|
||||||
"//third_party/cargo:env_logger",
|
"//third_party/cargo:env_logger",
|
||||||
|
|
13
hsvr/main.rs
13
hsvr/main.rs
|
@ -2,14 +2,11 @@ use std::sync::Arc;
|
||||||
use cgmath as cgm;
|
use cgmath as cgm;
|
||||||
|
|
||||||
use ecs_macros::Access;
|
use ecs_macros::Access;
|
||||||
use engine_input as input;
|
use engine::{
|
||||||
use engine_render as render;
|
globals, input, physics, render, scripting, util,
|
||||||
use engine_render::material;
|
};
|
||||||
use engine_render::vulkan::data;
|
use engine::render::material;
|
||||||
use engine::{globals, scripting};
|
use engine::render::vulkan::data;
|
||||||
|
|
||||||
use engine_physics as physics;
|
|
||||||
use engine_util as util;
|
|
||||||
|
|
||||||
struct Main {
|
struct Main {
|
||||||
light1: ecs::EntityID,
|
light1: ecs::EntityID,
|
||||||
|
|
Loading…
Reference in New Issue