-
-
Notifications
You must be signed in to change notification settings - Fork 487
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support multiple version of the optional glam conversion
- Loading branch information
Showing
14 changed files
with
158 additions
and
28 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
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
6 changes: 3 additions & 3 deletions
6
src/third_party/glam/glam_matrix.rs → src/third_party/glam/common/glam_matrix.rs
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
4 changes: 2 additions & 2 deletions
4
src/third_party/glam/glam_point.rs → src/third_party/glam/common/glam_point.rs
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
2 changes: 1 addition & 1 deletion
2
src/third_party/glam/glam_translation.rs → ...ird_party/glam/common/glam_translation.rs
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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
mod glam_isometry; | ||
mod glam_matrix; | ||
mod glam_point; | ||
mod glam_quaternion; | ||
mod glam_rotation; | ||
mod glam_similarity; | ||
mod glam_translation; | ||
mod glam_unit_complex; | ||
#[cfg(feature = "glam013")] | ||
mod v013; | ||
#[cfg(feature = "glam014")] | ||
mod v014; | ||
#[cfg(feature = "glam015")] | ||
mod v015; |
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,18 @@ | ||
#[path = "../common/glam_isometry.rs"] | ||
mod glam_isometry; | ||
#[path = "../common/glam_matrix.rs"] | ||
mod glam_matrix; | ||
#[path = "../common/glam_point.rs"] | ||
mod glam_point; | ||
#[path = "../common/glam_quaternion.rs"] | ||
mod glam_quaternion; | ||
#[path = "../common/glam_rotation.rs"] | ||
mod glam_rotation; | ||
#[path = "../common/glam_similarity.rs"] | ||
mod glam_similarity; | ||
#[path = "../common/glam_translation.rs"] | ||
mod glam_translation; | ||
#[path = "../common/glam_unit_complex.rs"] | ||
mod glam_unit_complex; | ||
|
||
pub(self) use glam013 as glam; |
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,18 @@ | ||
#[path = "../common/glam_isometry.rs"] | ||
mod glam_isometry; | ||
#[path = "../common/glam_matrix.rs"] | ||
mod glam_matrix; | ||
#[path = "../common/glam_point.rs"] | ||
mod glam_point; | ||
#[path = "../common/glam_quaternion.rs"] | ||
mod glam_quaternion; | ||
#[path = "../common/glam_rotation.rs"] | ||
mod glam_rotation; | ||
#[path = "../common/glam_similarity.rs"] | ||
mod glam_similarity; | ||
#[path = "../common/glam_translation.rs"] | ||
mod glam_translation; | ||
#[path = "../common/glam_unit_complex.rs"] | ||
mod glam_unit_complex; | ||
|
||
pub(self) use glam014 as glam; |
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,18 @@ | ||
#[path = "../common/glam_isometry.rs"] | ||
mod glam_isometry; | ||
#[path = "../common/glam_matrix.rs"] | ||
mod glam_matrix; | ||
#[path = "../common/glam_point.rs"] | ||
mod glam_point; | ||
#[path = "../common/glam_quaternion.rs"] | ||
mod glam_quaternion; | ||
#[path = "../common/glam_rotation.rs"] | ||
mod glam_rotation; | ||
#[path = "../common/glam_similarity.rs"] | ||
mod glam_similarity; | ||
#[path = "../common/glam_translation.rs"] | ||
mod glam_translation; | ||
#[path = "../common/glam_unit_complex.rs"] | ||
mod glam_unit_complex; | ||
|
||
pub(self) use glam015 as glam; |
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,6 +1,5 @@ | ||
#[cfg(feature = "alga")] | ||
mod alga; | ||
#[cfg(feature = "glam")] | ||
mod glam; | ||
#[cfg(feature = "mint")] | ||
mod mint; |