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 金曜日, 02 5月 2025 18:56:10 UTC - 0cfbc5eb74e8f627fe4da3fb60a3ee56ee64a172
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