Commit Graph

493 Commits

Author SHA1 Message Date
e4eaecee2c parity depends on face only 2023-11-21 20:44:50 -08:00
de4a2dc652 reuse existing variables 2023-11-21 19:53:15 -08:00
e6c1b87b34 test degenerate case 2023-11-21 19:53:15 -08:00
7bae33ad06 handle_degenerate_cases 2023-11-21 19:53:15 -08:00
05adec5499 pull constant out of loop 2023-11-21 18:17:46 -08:00
5d85b39058 not planned 2023-11-21 17:35:00 -08:00
b964873785 pull constant out of loop 2023-11-21 17:33:24 -08:00
c1ae19b098 rename DirectedEdge::neg to reverse 2023-11-21 16:02:33 -08:00
0ad99958a0 wrong 2023-11-20 19:57:27 -08:00
d2f209869d a-b != b-a 2023-11-20 19:53:59 -08:00
f04e6ee4b7 test transform 2023-11-20 19:47:28 -08:00
9a2b033241 include edges with zero dot to support crawling flush minkowksi faces 2023-11-20 19:29:16 -08:00
e2777852d1 probably wrong 2023-11-20 19:28:44 -08:00
2eadb541cc DirectedEdge.neg() 2023-11-20 19:28:00 -08:00
c9f2ea0308 UndirectedEdge trait 2023-11-20 19:28:00 -08:00
f4db20c206 swap edge faces in VertEdge case 2023-11-20 19:28:00 -08:00
72d8186ba4 MinkowskiMesh::edge_faces sorting against incorrect value 2023-11-20 19:28:00 -08:00
da6b800d4e include apexes 2023-11-20 18:55:42 -08:00
4154a8c437 are vert edges backwards? 2023-11-20 18:55:42 -08:00
13dd90d5f6 opti 2023-11-20 18:55:42 -08:00
a5437c87df wrong 2023-11-20 18:55:42 -08:00
a4ea566c02 unused impl for private type 2023-11-17 18:41:30 -08:00
a6f9f144f4 preopti 2023-11-17 18:41:30 -08:00
e33adeadc8 thinking 2023-11-17 18:41:30 -08:00
563ade11f7 rewrite infinity crawl to use a straight line
for predict_collision_out use an extrapolated body that will exist outside of the mesh in the hit case we care about
2023-11-17 18:41:30 -08:00
1a250fe8d6 style 2023-11-17 16:23:54 -08:00
4be218defb wrong 2023-11-17 16:23:54 -08:00
dc5649f2b5 wrong 2023-11-17 16:23:54 -08:00
ef817389f3 hit_the_ground unit test 2023-11-17 16:23:54 -08:00
399c9505bf reduce test spam 2023-11-17 14:12:11 -08:00
e6c955a958 combine crawl into one loop 2023-11-17 13:48:29 -08:00
8839b8fbb3 fix not moving 2023-11-16 19:57:50 -08:00
d191538aa8 fix time inversion 2023-11-16 19:18:07 -08:00
46c6271286 compiler nits 2023-11-16 18:46:10 -08:00
bb2a5e2d35 workaround stupid monolith 2023-11-16 18:46:10 -08:00
4998f3803a fix lifetimes 2023-11-16 18:46:10 -08:00
fa0be33bf5 initialize variable + guarantees 2023-11-16 18:46:10 -08:00
0da6da24ac implement final algorithm with infinity tech 2023-11-16 18:27:05 -08:00
6a926608b7 fix normal dir 2023-11-16 18:26:56 -08:00
71d221581f DirectedEdge trait (huge) 2023-11-16 17:03:15 -08:00
6fcc6b2303 water goes here 2023-11-15 22:56:16 -08:00
312b0223b6 inline them bad boys 2023-11-15 22:56:16 -08:00
5a3013365e use style mesh + remove double reference in set_velocity & set_acceleration 2023-11-15 22:52:52 -08:00
5c2aad268f style.hitbox 2023-11-15 22:52:51 -08:00
ea9c2efc7f implement Planar64Mat3::from_diagonal 2023-11-15 22:45:49 -08:00
a41cbb79de move mat mul to above mat div 2023-11-15 22:24:56 -08:00
2370fbea54 todo 2023-11-15 21:21:00 -08:00
33972b0c2c physics work 2023-11-15 21:10:50 -08:00
f50670db57 use function that doesn't exist for MinkowskiMesh::closest_fev 2023-11-15 21:10:50 -08:00
559a38b607 implement MinkowskiMesh::farthest_vert 2023-11-15 21:10:50 -08:00