Procházet zdrojové kódy

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

Vincent Gee před 11 roky
rodič
revize
2ec5af703c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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.
       // to indicate we haven't clipped anything.
 
 
       if( !numClippedPolygonVertices )
       if( !numClippedPolygonVertices )
-         return false;
+         return 0;
 
 
       // On first iteration, replace the inVertices with the
       // On first iteration, replace the inVertices with the
       // outVertices buffer.
       // outVertices buffer.