feat: Initial commit
This commit is contained in:
@@ -17,3 +17,9 @@ bevy_panorbit_camera = "0.34"
|
||||
[features]
|
||||
wayland = ["bevy/dynamic_linking", "bevy/wayland"]
|
||||
wasm = []
|
||||
|
||||
[profile.release]
|
||||
opt-level = 'z'
|
||||
lto = "thin"
|
||||
# lto = true
|
||||
# codegen-units = 1
|
||||
|
||||
@@ -163,6 +163,8 @@
|
||||
cargo-outdated
|
||||
lld
|
||||
trunk
|
||||
binaryen
|
||||
neocities
|
||||
]
|
||||
++ (lib.optionals pkgs.stdenv.isDarwin [
|
||||
apple-sdk_26
|
||||
|
||||
10
src/main.rs
10
src/main.rs
@@ -33,16 +33,6 @@ fn setup(
|
||||
},
|
||||
Transform::from_xyz(50.0, 50.0, 50.0).looking_at(Vec3::ZERO, Vec3::Y),
|
||||
));
|
||||
// commands.spawn((
|
||||
// Transform::from_translation(Vec3::new(0.0, 1.5, 6.0)),
|
||||
// Projection::from(OrthographicProjection {
|
||||
// scaling_mode: bevy::camera::ScalingMode::FixedVertical {
|
||||
// viewport_height: 1.0,
|
||||
// },
|
||||
// ..OrthographicProjection::default_3d()
|
||||
// }),
|
||||
// bevy_panorbit_camera::PanOrbitCamera::default(),
|
||||
// ));
|
||||
|
||||
commands.spawn((
|
||||
Mesh3d(meshes.add(Plane3d::default().mesh().size(5.0, 5.0))),
|
||||
|
||||
Reference in New Issue
Block a user