Commit Graph

52 Commits

Author SHA1 Message Date
Eric Wasylishen 6b14e166b8 light: make GLM_InterpolateNormal return failure on degenerate input 2018-01-28 02:19:09 -07:00
Eric Wasylishen d10dec1803 light: make GLM_PolyCentroid accept degenerate faces (todo: must rename these) 2018-01-12 00:36:12 -07:00
Eric Wasylishen 82e3aef283 light: add FacePairConcavity 2018-01-11 21:57:48 -07:00
Eric Wasylishen d31d3621bc light: add MakePlane function 2017-12-10 21:28:35 -07:00
Eric Wasylishen 6c529fb0c3 light: disable bad test 2017-12-10 17:59:39 -07:00
Eric Wasylishen d4d2d537eb light: split GLM_PolyRandomPoint into precomputed portion
take uniform random params explicitly
2017-11-24 18:01:18 -07:00
Eric Wasylishen 88ee157b97 mathlib: add LinesOverlap function 2017-11-23 23:45:00 -07:00
Eric Wasylishen 2c0e58e628 mathlib: add test for FractionOfLine with degenerate line 2017-06-15 03:30:48 -06:00
Eric Wasylishen 42af888f3d testlight: add failing test for ClosestPointOnLineSegment_Degenerate 2017-06-15 03:30:35 -06:00
Eric Wasylishen e0564e8c2a common: mathlib: don't need #define ANGLEEPSILON 2017-04-26 14:29:07 -06:00
Eric Wasylishen 15cc98eb27 common: move SignedDegreesBetweenUnitVectors from qbsp, add test 2017-04-26 14:04:33 -06:00
Eric Wasylishen 0a64905df8 common: fix msvc build errors 2017-04-24 00:34:37 -06:00
Eric Wasylishen 68b084a6c3 replace glm with qvec 2017-04-24 00:26:49 -06:00
Eric Wasylishen 122b5ff51c common: qmat: use NaN to indicate no inverse 2017-04-24 00:19:47 -06:00
Eric Wasylishen 881f12da52 common: add test for RotateFromUpToSurfaceNormal 2017-04-23 19:28:05 -06:00
Eric Wasylishen eeb00bf74c common: tidy qmat 2017-04-23 17:41:19 -06:00
Eric Wasylishen efd48b48f5 common: add test for matrix inverse 2017-04-23 16:08:58 -06:00
Eric Wasylishen 0358bc07b8 common: mesh_t: first draft of tjunc fixing 2017-04-23 02:06:20 -06:00
Eric Wasylishen 3f067e001a common: add DistToLineSegment 2017-04-23 02:05:19 -06:00
Eric Wasylishen 56513cdb8e common: add DistToLine 2017-04-23 01:39:59 -06:00
Eric Wasylishen b8f5a4f8e1 common: change mesh_t to use qvec3f 2017-04-22 20:39:50 -06:00
Eric Wasylishen 4996796944 light: reduce size of mathlib.octree_basic perf test 2017-04-22 20:36:03 -06:00
Eric Wasylishen 28081f50c6 common: make float/double versions of aabb3 2017-04-22 15:11:41 -06:00
Eric Wasylishen ee7181521d fix build 2017-04-22 13:54:12 -06:00
Eric Wasylishen f4c9b6c1a7 mathlib: expand qvec constructors 2017-04-20 12:32:37 -06:00
Eric Wasylishen 814e1675c9 test_light.cc: add missing include 2017-04-19 19:59:20 -06:00
Eric Wasylishen 5b63ddbeba mathlib: octree, aabb_t rework 2017-04-19 14:02:30 -06:00
Eric Wasylishen 055b5061f1 light: start a mesh_t class 2017-04-19 14:02:19 -06:00
Eric Wasylishen 30d9a53341 light: move FractionOfLine to mathlib 2017-03-18 23:26:16 -06:00
Eric Wasylishen 3e7b4448c1 mathlib: add GLM_PolyArea 2017-03-18 23:26:10 -06:00
Eric Wasylishen 0eb6864744 mathlib: add GLM_PolyRandomPoint 2017-03-12 12:58:36 -06:00
Eric Wasylishen 8e24cc764d Revert "build: force a test failure"
This reverts commit f45a1a715d.
2017-03-06 14:01:56 -08:00
Eric Wasylishen e314a3547f light: vs2013 doesn't support constexpr 2017-03-06 13:54:47 -08:00
Eric Wasylishen f45a1a715d build: force a test failure 2017-03-06 13:48:48 -07:00
Eric Wasylishen b163f766bb light: drop unneeded light2.cc/hh 2017-02-27 19:10:55 -07:00
Eric Wasylishen 34947ced9c light: delete RotationAboutLineSegment 2017-02-27 19:06:28 -07:00
Eric Wasylishen d88581e2da light: add GLM_ProjectPointOntoPlane 2017-02-22 01:40:58 -07:00
Eric Wasylishen 8ab0ef9687 mathlib: redo bilinear interpolation 2017-02-21 21:19:07 -07:00
Eric Wasylishen 8067e0fa45 mathlib: add PointsAlongLine 2017-02-21 21:18:16 -07:00
Eric Wasylishen d40c6b9912 mathlib: add bilinear interpolation 2017-02-20 14:32:31 -07:00
Eric Wasylishen d811d33d22 light: add slightly concave poly test 2017-02-16 15:47:45 -07:00
Eric Wasylishen 7294f06ccc light: disable EdgePlanesOfNonConvexPoly test for now 2017-02-16 15:47:26 -07:00
Eric Wasylishen 6ea56b987a light: fix mangle_from_vec 2017-02-15 00:14:51 -07:00
Eric Wasylishen 77baa2b90b light: fix mangle_from_vec test epsilon 2017-02-14 23:50:05 -07:00
Eric Wasylishen 6f66473836 light: add mangle_from_vec 2017-02-14 23:45:38 -07:00
Eric Wasylishen bef9dd63d2 common: GLM_MakeInwardFacingEdgePlanes: handle non-convex poly 2017-02-14 20:51:36 -07:00
Eric Wasylishen 3a20d5410b common: add shrink and clip poly funcs 2017-02-12 00:20:38 -07:00
Eric Wasylishen b54f893942 common: add GLM_InterpolateNormal 2017-02-11 11:02:37 -07:00
Eric Wasylishen 8ed7544063 light: fix up barycentric coords code, add tests 2017-02-11 11:02:28 -07:00
Eric Wasylishen a9f99076fd common: add GLM_ClosestPointOnPolyBoundary 2017-02-10 15:52:12 -07:00