Torque 3D 3.7
ContentsIndexHome
PreviousUpNext
MathUtils::isConvexPolygon Function
Syntax
C++
bool isConvexPolygon(const Point3F* vertices, U32 numVertices);

Find out whether the given polygon is convex. @param vertices Array of vertices of the polygon. @param numVertices Number of vertices in @a vertices. @return True if the polygon is convex, false otherwise. 

 

Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!