Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Snowiiii committed Jan 7, 2024
1 parent 4d451f9 commit 787291f
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 21 deletions.
31 changes: 15 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# ⚜️ Vent-Engine ⚜️

**A game engine written in Rust using WGPU with the goal to be very fast & user-friendly**
**A game engine written in Rust using an Vulkan renderer with the goal to be very fast & user-friendly**

![CI](https://github.com/Snowiiii/Vent-Engine/actions/workflows/rust.yml/badge.svg)
![Apache_2.0](https://img.shields.io/badge/license-Apache_2.0-blue.svg)
Expand Down
9 changes: 7 additions & 2 deletions crates/vent-assets/src/model/gltf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,18 @@ impl GLTFLoader {
gltf::texture::MinFilter::Nearest => {
(vk::Filter::NEAREST, vk::SamplerMipmapMode::NEAREST)
}
gltf::texture::MinFilter::Linear
| gltf::texture::MinFilter::LinearMipmapNearest => {
gltf::texture::MinFilter::Linear => {
(vk::Filter::LINEAR, vk::SamplerMipmapMode::NEAREST)
}
gltf::texture::MinFilter::NearestMipmapNearest => {
(vk::Filter::NEAREST, vk::SamplerMipmapMode::NEAREST)
}
gltf::texture::MinFilter::LinearMipmapNearest => {
(vk::Filter::LINEAR, vk::SamplerMipmapMode::NEAREST)
}
gltf::texture::MinFilter::NearestMipmapLinear => {
(vk::Filter::LINEAR, vk::SamplerMipmapMode::LINEAR)
}
gltf::texture::MinFilter::LinearMipmapLinear => {
(vk::Filter::LINEAR, vk::SamplerMipmapMode::LINEAR)
}
Expand Down
2 changes: 1 addition & 1 deletion crates/vent-ecs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
winit = { version = "0.29.4", default-features = false }
winit = { version = "0.29.9", default-features = false }
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ impl CameraController3D {
match event.logical_key.as_ref() {
// Arrow keys works but WASD not :C
Key::Character("W") | Key::Named(NamedKey::ArrowUp) => {
print!("pressed W");
camera.position.x += sin_pitch * self.speed * delta_time;
camera.position.z += cos_pitch * self.speed * delta_time;
return true;
Expand Down

0 comments on commit 787291f

Please sign in to comment.