Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::stable_sort(v.begin(), v.end());
- struct P3
- {
- float x;
- float y;
- float z;
- bool operator<( const P3& p ) const
- {
- return (x < p.x) || (y < p.y) || (z < p.z);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement