-
-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor fj-viewer into multiple crates. #584
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[package] | ||
name = "fj-input" | ||
version = "0.6.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[features] | ||
default = [] | ||
gfx = [] | ||
Comment on lines
+8
to
+10
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What are those features about? I don't think they're used anywhere. |
||
|
||
[dependencies] | ||
winit = "0.26.1" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think |
||
|
||
[dependencies.fj-interop] | ||
version = "0.6.0" | ||
path = "../fj-interop" | ||
|
||
[dependencies.fj-math] | ||
version = "0.6.0" | ||
path = "../fj-math" |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,5 @@ | |
|
||
pub mod camera; | ||
pub mod graphics; | ||
pub mod input; | ||
pub mod run; | ||
pub mod window; |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
use std::time::Instant; | ||
|
||
use fj_host::Watcher; | ||
use fj_input as input; | ||
use fj_operations::shape_processor::ShapeProcessor; | ||
use futures::executor::block_on; | ||
use tracing::{trace, warn}; | ||
|
@@ -17,7 +18,6 @@ use winit::{ | |
use crate::{ | ||
camera::Camera, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
In addition, this kind of thing makes it slightly harder to review the pull request, as I always need to cross-reference against later commits, if I see something like this. |
||
graphics::{self, DrawConfig, Renderer}, | ||
input, | ||
window::Window, | ||
}; | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you modify the commit to not remove this? I realize you're adding it back in a later commit, but having it removed for a few commits could mess up any
git bisect
over that commit range.