1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
//------------------------------------------------------------------------- // @file lib.rs // // @date 06/18/20 11:26:55 // @author Martin Noblia // @email mnoblia@disroot.org // // @brief // // @detail // // Licence MIT: // Copyright <2021> <Martin Noblia> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. //-------------------------------------------------------------------------- // TODO(elsuizo:2021-05-16): fill this section //! //! static-math //! #![deny(unsafe_code)] pub mod traits; pub mod matrix2x2; pub mod matrix3x3; pub mod matrix4x4; pub mod matrix5x5; pub mod matrix6x6; pub mod vector2; pub mod vector3; pub mod vector4; pub mod vector5; pub mod vector6; pub mod utils; pub mod errors; pub mod slices_methods; pub mod quaternion; pub mod dual_quaternion; pub mod transformations; //------------------------------------------------------------------------- // export types //------------------------------------------------------------------------- pub use matrix2x2::M22; pub use matrix3x3::M33; pub use matrix4x4::M44; pub use matrix5x5::M55; pub use matrix6x6::M66; pub use vector2::V2; pub use vector3::V3; pub use vector4::V4; pub use vector5::V5; pub use vector6::V6; pub use quaternion::Quaternion; pub use dual_quaternion::DualQuaternion;