-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- bump float_eq & paste. - new `wip` module for WIP work, & exclude it from the crate. - update .gitignore - update docs.
- Loading branch information
Showing
10 changed files
with
53 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
/target | ||
Cargo.lock | ||
*.swp | ||
*.swo | ||
_* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
//! | ||
use crate::{ | ||
engine::Shape, | ||
{Orientation, Position}, | ||
}; | ||
|
||
/// A physical body | ||
#[derive(Debug, Default)] | ||
pub struct Body { | ||
pub pos: Position, | ||
pub orien: Orientation, | ||
pub shape: Shape, | ||
} | ||
|
||
// WIP | ||
// impl Body { | ||
// pub fn new() -> Self { | ||
// Self { | ||
// pos: Position::ZERO, | ||
// orien: Orientation::IDENTITY, | ||
// shape: Shape::Sphere { | ||
// radius: Length::new(0.0), | ||
// }, | ||
// } | ||
// } | ||
// } |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,9 @@ impl Default for Shape { | |
} | ||
} | ||
} | ||
|
||
// RETHINK | ||
// impl Shape { | ||
// pub fn new() -> Self { | ||
// } | ||
// } |