Unigine::ConcaveConvexCompare Class
Header: | #include <UnigineMathLibConcave.h> |
The structure is used to compare convex shapes volumes. It can be passed to sort functions as a comparison method.
ConcaveConvexCompare Class
Members
int operator() ( const Convex* c0, const Convex* c1 ) #
Compares the volume of two convex shapes.Arguments
- const Convex* c0 - First shape.
- const Convex* c1 - Second shape.
Return value
1 if the first shape's volume is greater than the second shape's volume; otherwise 0.Last update:
16.08.2024
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter