Convert internal representation of vertices to double. Also replace remove duplicate vertices with fast hash implementation.
PiperOrigin-RevId: 734516595 Change-Id: Ic78556688d5f2b75d69cd286b8d060e2cdeb7c48
This commit is contained in:
committed by
Copybara-Service
parent
e4ee00e695
commit
4d024f9421
@@ -991,7 +991,7 @@ TEST_F(MjGjkTest, SmallBoxMesh) {
|
||||
EXPECT_NEAR(dir[2], 1, kTolerance);
|
||||
|
||||
// position
|
||||
EXPECT_NEAR(mju_abs(pos[0]), 0.08333333, kTolerance); // -pos[0] on ARM
|
||||
EXPECT_NEAR(pos[0], 0, kTolerance);
|
||||
EXPECT_NEAR(pos[1], 0, kTolerance);
|
||||
EXPECT_NEAR(pos[2], 0, kTolerance);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user