2.5 KiB
2.5 KiB
Changelog
[1.2.1] - 2020-08-06
Added
Changed
Deprecated
Removed
Fixed
- Fixed warnings for meta files existing even though the files they represent did not exist.
Internal (Not ready for production)
[1.2.0] - 2020-08-03
Added
- Added
[MethodImpl(MethodImplOptions.AggressiveInlining)]to many static functions to improve IL2CPP performance. - Added
compress()that accepts afloat4anduint4. - Added
math.project()andmath.projectsafe()for vector projection. - Added
math.EPSILON,math.INFINITY,math.NANand their double counterparts. - Added
[Serializable]toRigidTransform. - Added
math.ceillog2(). - Added
math.floorlog2(). - Added
math.down(),math.forward(), etc for Cartesian coordinate axes that match UnityEngine Vector3 equivalents. - Added
math.ispow2(). - Added
half.MinValueAsHalfandhalf.MaxValueAsHalfto avoid having to explicitly convert from float. - Added a
float3x3constructor which takes afloat4x4as input. - Added
[Serializable]to half types. - Added some performance tests which can be run from the Unity test project.
- Added
Random.CreateFromIndex()to assist in creating Random instances from loop indices.
Changed
Deprecated
Removed
Fixed
- Fixed documentation bug where
quaternion.RotateX/Y/Zreferred to afloat4x4instead of quaternion. - Fixed code generation bugs which could cause Windows and Mac to generate different test code.
- Fixed some test asserts which used NaNs and signed zeros which failed in IL2CPP builds.
- Updated documentation for
math.countbits()to include equivalent names on Intel and ARM architectures to aid in discoverability.
Internal (Not ready for production)
- Added
Unity.Mathematics.Geometry.Planeto represent planes in 3D space. - Added more
MinMaxAABBfunctionality fromUnity.Physics.Aabb. - Added
Unity.Mathematics.Geometry.Mathto hold static functions like AABB transformations. - Added
MinMaxAABB.
[1.1.0] - 2019-07-08
- Release stable version
[1.1.0-preview.1] - 2019-06-27
- Add new math.bitmask to return a bit mask from a bool4
[1.0.1] - 2019-04-15
- Release stable version
- Modify all math constants (e.g
math.PI) to provide float constant by default instead of double. Use for examplemath.PI_DBLto get the previous double constant.
[1.0.0-preview.1] - 2019-02-28
- Fixed bug where modifications on prefabs could not be reverted for vector properties when using context menu in Inspector.
- Fixed structure of the package for internal validation