소스 검색

Merge pull request #1183 from marauder2k9-torque/ConvexShapeValuesChange

Update convexShape.cpp
Brian Roberts 1 년 전
부모
커밋
bd2121b674
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      Engine/source/T3D/convexShape.cpp

+ 2 - 4
Engine/source/T3D/convexShape.cpp

@@ -221,10 +221,8 @@ bool ConvexShape::protectedSetSurface( void *object, const char *index, const ch
       &mat[12], &mat[13], &mat[14], &mat[15] );
 	*/
 
-   String t = data;
-
-	dSscanf( data, "%g %g %g %g %g %g %g %i %g %g %g %g %f", &quat.x, &quat.y, &quat.z, &quat.w, &pos.x, &pos.y, &pos.z,
-      &matID, &offset.x, &offset.y, &scale.x, &scale.y, &rot);
+	dSscanf( data, "%g %g %g %g %g %g %g %i %g %g %g %g %g %i %i", &quat.x, &quat.y, &quat.z, &quat.w, &pos.x, &pos.y, &pos.z,
+      &matID, &offset.x, &offset.y, &scale.x, &scale.y, &rot, &horz, &vert);
 
 	MatrixF surface;
 	quat.setMatrix( &surface );