summaryrefslogtreecommitdiff
path: root/test/test-geoData.cpp
Commit message (Collapse)AuthorAge
* Pass setHeights options as a struct with defaultsDan Goodliffe5 days
|
* Move lots of maths helpers to inline, constexpr, templatesDan Goodliffe2024-10-20
| | | | Always for working with different dimensions/types
* Use LightDirection for calculating/passing all light dir componentsDan Goodliffe2024-10-06
|
* Set the face surface type when setting heightDan Goodliffe2024-04-26
|
* Remove wireframe mode from test rendersDan Goodliffe2024-04-04
|
* Tests for triangle helpersDan Goodliffe2024-04-02
|
* Add timeout to deformation unit testDan Goodliffe2024-03-09
|
* Load terrain deform fixture data from JSONDan Goodliffe2024-02-26
|
* Make terrain deformation test a data testDan Goodliffe2024-02-26
| | | | Easily test multiple deformations and view them from different angles
* Psycho-rebased branch deform-terrain on top of mainDan Goodliffe2024-02-24
|\
| * First cut of terrain deformationDan Goodliffe2024-02-22
| | | | | | | | | | | | | | | | | | | | This "works" for some definition of works... But it's flawed in many ways, not least the following: * It's glitchy for no obvious reason * It's unreliable; fails if you tweak the parameters * The sides of the modified area are triangulated in the dumbest possible fashion, which results in ill-formed polygons * Probably other things, but... It works, remember...
| * Include face handle in intersectRay resultDan Goodliffe2024-02-13
| |
* | Simplify vector addition/subtraction with differnt typesDan Goodliffe2024-02-24
|/ | | | | Automatically applies correct rounding with float to int operations, adjusts test expectations accordingly.
* Template Ray on position typeDan Goodliffe2024-01-07
|
* Test case for finding ray entry pointsDan Goodliffe2023-12-02
|
* Replace positionAt with pure integer versionDan Goodliffe2023-12-02
|
* Calculate vertex normals onlyDan Goodliffe2023-11-26
| | | | | | Doesn't require half edge normals or face normals, which uses Newell's method, which results in integer overflow... Not to mention we don't need all the other normals.
* Merge branch 'ints' into terrainDan Goodliffe2023-11-26
| | | | | | Conflicts fix, compiles, some test failures remain. Trees not added, possibility of OM invalid handle assertion failures, normals broken due to integer overflow in Newell's method.
* Fix todo for handling a terrain walk from outside the meshDan Goodliffe2023-11-05
|
* Fix calculating extentsDan Goodliffe2023-11-05
|
* Add methods to walk the boundary of the terrain meshDan Goodliffe2023-11-05
|
* More tests can just use the global fixed dataDan Goodliffe2023-11-04
|
* Simplify some logic with the triangle constructDan Goodliffe2023-11-04
|
* Rename TerrainMesh to GeoData to drop inplaceDan Goodliffe2023-11-04