You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Framework/AzCore/Tests/Math
Tommy Walton 7de6bc5b23
Add RoundUpToMultiple and DivideAndRoundUp functions to MathUtils.h (#6989)
* Add RoundUpToMultiple and DivideAndRoundUp functions to MathUtils.h

Signed-off-by: Tommy Walton <waltont@amazon.com>

* Rename DivideByMultiple2 back to DivideByMultiple, now that I've confirmed it's not in use in the codebase. RHI::DivideByMultiple can be fully deprecated in favor of AZ::DivideAndRoundUp at a later date, once the deprecation strategy has been finalized.

Signed-off-by: Tommy Walton <waltont@amazon.com>

* Update based on PR feedback

Signed-off-by: Tommy Walton <waltont@amazon.com>

* Switched from std::numeric_limits to AZStd::numeric_limits and updated the header to indicate it works for non-power of two alignments, but that SizeAlignUp is more efficient if the alignment is a power of 2

Signed-off-by: Tommy Walton <waltont@amazon.com>

* Added missing arguments to the assert, and a missing namespace and include that failed to compile on non-unity builds

Signed-off-by: Tommy Walton <waltont@amazon.com>
4 years ago
..
AabbTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ColorTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
CrcTests.cpp Mark benchmark state variables in for loops as unused in benchmarks 4 years ago
CrcTestsCompileTimeLiterals.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
FrustumPerformanceTests.cpp Mark benchmark state variables in for loops as unused in benchmarks 4 years ago
FrustumTests.cpp Remove the legacy ViewSystem and some other tangentially related legacy code. (#5558) 4 years ago
IntersectionTests.cpp Add a new implementation for cone/ray intersect to simplify code and fix issue with current implementation (#3902) 4 years ago
MathIntrinsicsTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
MathStringsTests.cpp Fix math string unit test failures 4 years ago
MathTest.h AzCore Math tests produce errors that need to be disabled in debug (#6678) 4 years ago
MathTestData.h Update return type for viewport screen functions (#5803) 4 years ago
MathUtilsTests.cpp Add RoundUpToMultiple and DivideAndRoundUp functions to MathUtils.h (#6989) 4 years ago
Matrix3x3PerformanceTests.cpp Mark benchmark state variables in for loops as unused in benchmarks 4 years ago
Matrix3x3Tests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Matrix3x4PerformanceTests.cpp Mark benchmark state variables in for loops as unused in benchmarks 4 years ago
Matrix3x4Tests.cpp Update return type for viewport screen functions (#5803) 4 years ago
Matrix4x4PerformanceTests.cpp Mark benchmark state variables in for loops as unused in benchmarks 4 years ago
Matrix4x4Tests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
MatrixUtilsTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ObbPerformanceTests.cpp Mark benchmark state variables in for loops as unused in benchmarks 4 years ago
ObbTests.cpp Remove statistics profiler 4 years ago
PlanePerformanceTests.cpp Mark benchmark state variables in for loops as unused in benchmarks 4 years ago
PlaneTests.cpp AzCore Math tests produce errors that need to be disabled in debug (#6678) 4 years ago
QuaternionPerformanceTests.cpp Mark benchmark state variables in for loops as unused in benchmarks 4 years ago
QuaternionTests.cpp Quaternion shortest equivalent (#6472) 4 years ago
RandomTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
SfmtTests.cpp Linux and non-unity build fixes 4 years ago
ShapeIntersectionPerformanceTests.cpp Mark benchmark state variables in for loops as unused in benchmarks 4 years ago
ShapeIntersectionTests.cpp Code/Framework/AzCore 4 years ago
SimdMathTests.cpp Code/Framework/AzCore 4 years ago
SphereTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
SplineTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
TransformPerformanceTests.cpp Mark benchmark state variables in for loops as unused in benchmarks 4 years ago
TransformTests.cpp Removes recording of memory records through the MemoryDriller 4 years ago
Vector2PerformanceTests.cpp Mark benchmark state variables in for loops as unused in benchmarks 4 years ago
Vector2Tests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Vector3PerformanceTests.cpp Mark benchmark state variables in for loops as unused in benchmarks 4 years ago
Vector3Tests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Vector4PerformanceTests.cpp Mark benchmark state variables in for loops as unused in benchmarks 4 years ago
Vector4Tests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago