class methods
An ofMeshFace is a face on one of the ofPrimitive instances. In the ofPrimitive a face consists of 3 points connected together, like in the following image:
You can get a vector of ofMeshFace instances from any ofPrimitive like so:
vector<ofMeshFace> triangles = box.getMesh().getUniqueFaces();
They're very handy for manipulating individual vertices or doing strange/fun things with intersection and boundary testing, among many many other things.
Last updated Friday, 05 January 2024 04:30:04 UTC - 76da1a94ddd033ed7b011f01e62bc1521791976d
If you have any doubt about the usage of this module you can ask in the forum.
If you want to contribute better documentation or start documenting this section you can do so here
If you find anything wrong with this docs you can report any error by opening an issue