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/AzFramework/Tests
bosnichd f34d3a822e
Add a ray cast API to the terrain system, implement it, and use it so entities can be placed on top of terrain. (#6895)
* Add a ray cast API to the terrain system, implement it, and use it so entities can be placed on top of terrain.

Still to do:
- Unit tests
- Profiling/benchmarks
- Optimization (if needed, may not be now after updating to use the iterative approach, but one option could be to use SIMD to ray cast against both triangles at once)

Signed-off-by: bosnichd <bosnichd@amazon.com>

* Fix typos.

Signed-off-by: bosnichd <bosnichd@amazon.com>

* Added a FindNearestIntersectionIterative to use in place of the first-pass FindnearestIntersectionRecursive attempt.

Signed-off-by: bosnichd <bosnichd@amazon.com>

* Remove some functions that are no longer being used.

Signed-off-by: bosnichd <bosnichd@amazon.com>

* Remove a unicode character from a comment to fix the validation build.

Signed-off-by: bosnichd <bosnichd@amazon.com>

* Remove another unicode character from a comment to fix the validation build.

Signed-off-by: bosnichd <bosnichd@amazon.com>

* Update to bail out as soon as t > 1.0f

Signed-off-by: bosnichd <bosnichd@amazon.com>
4 years ago
..
Mocks Add a ray cast API to the terrain system, implement it, and use it so entities can be placed on top of terrain. (#6895) 4 years ago
Platform Removes some leftover log 4 years ago
Spawnable Minor updates to the Spawnable Entity Aliases in response to PR feedback. 4 years ago
Utils Fixes for viewport selection issues (#5494) 4 years ago
Application.cpp Update the FileIO Aliases (#4186) 4 years ago
ArchiveCompressionTests.cpp Update how Project Filepaths are calculated when not supplied via command line (#5194) 4 years ago
ArchiveTests.cpp Add support for configuring default Archive File Search Mode through a Cache Var (#5668) 4 years ago
AssetCatalog.cpp Asset catalog lock inversion fix. (#7045) 4 years ago
AssetProcessorConnection.cpp Remove unused traits that disabled certain failed unit tests 4 years ago
BehaviorEntityTests.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago
BinToTextEncode.cpp Fixes test in AzFramework 4 years ago
CameraInputTests.cpp Fixes for `CameraInput` handling (#6425) 4 years ago
CameraState.cpp Clang 13: Fix build errors ... 4 years ago
ClickDetectorTests.cpp Improvement for click detection when clicking quickly between mouse moves (#5786) 4 years ago
CursorStateTests.cpp Fixes for viewport selection issues (#5494) 4 years ago
EntityContext.cpp Removes m_enableDrilling 4 years ago
FileIO.cpp Update the FileIO Aliases (#4186) 4 years ago
FileTagTests.cpp Removes m_enableDrilling 4 years ago
FrameworkApplicationFixture.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
GenAppDescriptors.cpp Update the FileIO Aliases (#4186) 4 years ago
InputTests.cpp Removed trait AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS 4 years ago
Main.cpp Add a unit test for `XcbInputDeviceKeyboard` (#4393) 4 years ago
NativeWindow.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago
OctreePerformanceTests.cpp fixes AzFramework 4 years ago
OctreeTests.cpp Code/Framework compiling 4 years ago
PlatformHelper.cpp Add linux equivalents for all the places that enumerate platforms (#3325) 4 years ago
ProcessLaunchMain.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ProcessLaunchParseTests.cpp Process launcher updates (#6183) 4 years ago
Scene.cpp Removes m_enableDrilling 4 years ago
framework_shared_tests_files.cmake Fixes for viewport selection issues (#5494) 4 years ago
frameworktests_files.cmake Added unit tests for spawnable entity aliases. 4 years ago
process_launch_test_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
terrain_mock_files.cmake Moved TerrainDataRquestBus to AzFrameworkTestShared (#5835) 4 years ago