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 화요일, 19 11월 2024 17:24:04 UTC - 2537ee49f6d46d5fe98e408849448314fd1f180e
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