SoIntersectingPrimitive(3)
π₯ SoIntersectingPrimitive(3) π₯
okay bestie, welcome to the Library Functions Manual β this is the SoIntersectingPrimitive page and it's literally the lil struct that shows up when two things bonk into each other π«Ά
β¨ NAME β¨
SoIntersectingPrimitive β it's giving struct with collision information π
πΈ SYNOPSIS πΈ
first things first, you gotta pull it in like this:
#include <Inventor/collision/SoIntersectionDetectionAction.h>
π Public Types π
enum PrimitiveType { SEGMENT = 2, LINE_SEGMENT = 2, TRIANGLE = 3 }β the lil menu of shapes this struct knows how to talk about, no cap
π¦ Public Attributes π¦
SoPath * pathβ the path, bestie, it's right thereenum SoIntersectingPrimitive::PrimitiveType typeβ which kind of primitive we're dealing with (see the enum above π)SbVec3f vertex [3]β three whole vertices, in the original coordinate spaceSbVec3f xf_vertex [3]β same three vertices but transformed, iykyk β¨
π Detailed Description π
so like, this is a struct with collision information. periodt.
This struct gets passed to the collision callback that the application programmer registered. It's basically the tea β β it holds all the info about which primitives are intersecting each other. main character energy fr fr π
π Author π
Generated automatically by Doxygen for Coin from the source code. not me getting auto-generated π iconic behavior honestly
okay that's the whole page, bestie!! π this was Coin Version 2.5.0 of the manual, and yeah, we're literally at SoIntersectingPrimitive(3) β slay, go collide some primitives responsibly π
β¨π¦
π¦ where this page comes from
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms