Export and register Mat2. (#5324)
				
					
				
			Export and register a missing type from `glam`. Reflect impls were already present, but not registered. Co-authored-by: devil-ira <justthecooldude@gmail.com>
This commit is contained in:
		
							parent
							
								
									6b34e81f00
								
							
						
					
					
						commit
						56ee620495
					
				| @ -56,6 +56,7 @@ fn register_math_types(app: &mut App) { | ||||
|         .register_type::<bevy_math::Vec2>() | ||||
|         .register_type::<bevy_math::Vec3>() | ||||
|         .register_type::<bevy_math::Vec4>() | ||||
|         .register_type::<bevy_math::Mat2>() | ||||
|         .register_type::<bevy_math::Mat3>() | ||||
|         .register_type::<bevy_math::Mat4>() | ||||
|         .register_type::<bevy_math::Quat>(); | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| //! Provides math types and functionality for the Bevy game engine.
 | ||||
| //!
 | ||||
| //! The commonly used types are vectors like [`Vec2`] and [`Vec3`],
 | ||||
| //! matrices like [`Mat3`] and [`Mat4`] and orientation representations
 | ||||
| //! matrices like [`Mat2`], [`Mat3`] and [`Mat4`] and orientation representations
 | ||||
| //! like [`Quat`].
 | ||||
| 
 | ||||
| #![warn(missing_docs)] | ||||
| @ -10,8 +10,8 @@ | ||||
| pub mod prelude { | ||||
|     #[doc(hidden)] | ||||
|     pub use crate::{ | ||||
|         BVec2, BVec3, BVec4, EulerRot, IVec2, IVec3, IVec4, Mat3, Mat4, Quat, UVec2, UVec3, UVec4, | ||||
|         Vec2, Vec3, Vec4, | ||||
|         BVec2, BVec3, BVec4, EulerRot, IVec2, IVec3, IVec4, Mat2, Mat3, Mat4, Quat, UVec2, UVec3, | ||||
|         UVec4, Vec2, Vec3, Vec4, | ||||
|     }; | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 ira
						ira