فهرست منبع

Removed incorrect offset

Jorrit Rouwe 3 سال پیش
والد
کامیت
859cdfc4b5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Samples/Tests/Constraints/FixedConstraintTest.cpp

+ 1 - 1
Samples/Tests/Constraints/FixedConstraintTest.cpp

@@ -99,7 +99,7 @@ void FixedConstraintTest::Initialize()
 
 		Body *prev_pillars[4] = { &Body::sFixedToWorld, &Body::sFixedToWorld, &Body::sFixedToWorld, &Body::sFixedToWorld };
 
-		Vec3 center(5.0f, 0, 0);
+		Vec3 center = Vec3::sZero();
 		for (int y = 0; y < 10; ++y)
 		{
 			// Create pillars