소스 검색

Fixed Return value from false to 0 (which is U32)

Vincent Gee 11 년 전
부모
커밋
2ec5af703c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Engine/source/math/mPlaneSet.h

+ 1 - 1
Engine/source/math/mPlaneSet.h

@@ -458,7 +458,7 @@ U32 PlaneSet< T >::clipPolygon( const Point3F* inVertices, U32 inNumVertices, Po
       // to indicate we haven't clipped anything.
 
       if( !numClippedPolygonVertices )
-         return false;
+         return 0;
 
       // On first iteration, replace the inVertices with the
       // outVertices buffer.