![]() |
Rigs of Rods 2026.01
Soft-body Physics Simulation
|
Return type of CartesianToTriangleTransform transformation.
Describes the position of a three-dimensional point relative to a triangle. The position on the triangle plane is defined by the barycentric coordinates alpha, beta and gamma. The perpendicular offset of the point from this plane is given by the value of distance.
Definition at line 56 of file CartesianToTriangleTransform.h.
Data Fields | ||
| struct { | ||
| Ogre::Real alpha | ||
| Ogre::Real beta | ||
| Ogre::Real gamma | ||
| } | barycentric | |
| const Ogre::Real | distance | |
| Ogre::Real CartesianToTriangleTransform::TriangleCoord::alpha |
Barycentric coordinate.
Definition at line 58 of file CartesianToTriangleTransform.h.
| const struct { ... } CartesianToTriangleTransform::TriangleCoord::barycentric |
| Ogre::Real CartesianToTriangleTransform::TriangleCoord::beta |
Barycentric coordinate.
Definition at line 59 of file CartesianToTriangleTransform.h.
| const Ogre::Real CartesianToTriangleTransform::TriangleCoord::distance |
Shortest (signed) distance to triangle plane.
Definition at line 62 of file CartesianToTriangleTransform.h.
| Ogre::Real CartesianToTriangleTransform::TriangleCoord::gamma |
Barycentric coordinate.
Definition at line 60 of file CartesianToTriangleTransform.h.