浏览代码

Fixed typo

Jorrit Rouwe 2 年之前
父节点
当前提交
2821106682
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Samples/Tests/General/RestitutionTest.cpp

+ 1 - 1
Samples/Tests/General/RestitutionTest.cpp

@@ -23,7 +23,7 @@ void RestitutionTest::Initialize()
 	RefConst<Shape> sphere = new SphereShape(2.0f);
 	RefConst<Shape> sphere = new SphereShape(2.0f);
 	RefConst<Shape> box = new BoxShape(Vec3(2.0f, 2.0f, 2.0f));
 	RefConst<Shape> box = new BoxShape(Vec3(2.0f, 2.0f, 2.0f));
 
 
-	// Bodies with increasing friction
+	// Bodies with increasing restitution
 	for (int i = 0; i <= 10; ++i)
 	for (int i = 0; i <= 10; ++i)
 	{
 	{
 		BodyCreationSettings settings(sphere, RVec3(-50.0f + i * 10.0f, 20.0f, -20.0f), Quat::sIdentity(), EMotionType::Dynamic, Layers::MOVING);
 		BodyCreationSettings settings(sphere, RVec3(-50.0f + i * 10.0f, 20.0f, -20.0f), Quat::sIdentity(), EMotionType::Dynamic, Layers::MOVING);