forked from dimforge/nalgebra
-
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.
Remove implementations of
Rotation
, Translation
and `Transformati…
…on` for the `Identity` type. Because most of their methods did not make sence for the (constant) identity matrix, they were set to `panic!` at runtime whenever the user tried to use them. Instead, it is much safer to completely forbid their use by removing the related trait implementation. See dimforge/ncollide#87.
- Loading branch information
Showing
2 changed files
with
3 additions
and
115 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 |
---|---|---|
|
@@ -10,7 +10,7 @@ bench: | |
cargo bench | ||
|
||
doc: | ||
cargo doc | ||
cargo doc --no-deps | ||
|
||
clean: | ||
cargo clean | ||
|
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