feat: Initial commit
This commit is contained in:
@@ -17,3 +17,9 @@ bevy_panorbit_camera = "0.34"
|
|||||||
[features]
|
[features]
|
||||||
wayland = ["bevy/dynamic_linking", "bevy/wayland"]
|
wayland = ["bevy/dynamic_linking", "bevy/wayland"]
|
||||||
wasm = []
|
wasm = []
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
opt-level = 'z'
|
||||||
|
lto = "thin"
|
||||||
|
# lto = true
|
||||||
|
# codegen-units = 1
|
||||||
|
|||||||
@@ -163,6 +163,8 @@
|
|||||||
cargo-outdated
|
cargo-outdated
|
||||||
lld
|
lld
|
||||||
trunk
|
trunk
|
||||||
|
binaryen
|
||||||
|
neocities
|
||||||
]
|
]
|
||||||
++ (lib.optionals pkgs.stdenv.isDarwin [
|
++ (lib.optionals pkgs.stdenv.isDarwin [
|
||||||
apple-sdk_26
|
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),
|
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((
|
commands.spawn((
|
||||||
Mesh3d(meshes.add(Plane3d::default().mesh().size(5.0, 5.0))),
|
Mesh3d(meshes.add(Plane3d::default().mesh().size(5.0, 5.0))),
|
||||||
|
|||||||
Reference in New Issue
Block a user