\brief Compute the normal of the Triangle. \param[out] _normal Triangle normal. */
| 100 | \param[out] _normal Triangle normal. |
| 101 | */ |
| 102 | PX_FORCE_INLINE void normal(PxVec3& _normal) const |
| 103 | { |
| 104 | _normal = (verts[1]-verts[0]).cross(verts[2]-verts[0]); |
| 105 | _normal.normalize(); |
| 106 | } |
| 107 | |
| 108 | /** |
| 109 | \brief Compute the unnormalized normal of the triangle. |
no test coverage detected