Ogre Procedural  0.3.0 unstable
Procedural Geometry & Textures for Ogre3D
Public Member Functions | Public Attributes | List of all members
Procedural::Triangle3D Struct Reference

Represents a 3D triangle. More...

#include <ProceduralGeometryHelpers.h>

Public Member Functions

 Triangle3D (const Ogre::Vector3 &a, const Ogre::Vector3 &b, const Ogre::Vector3 &c)
 
bool findIntersect (const Triangle3D &other, Segment3D &intersection) const
 

Public Attributes

Ogre::Vector3 mPoints [3]
 

Detailed Description

Represents a 3D triangle.

Constructor & Destructor Documentation

◆ Triangle3D()

Procedural::Triangle3D::Triangle3D ( const Ogre::Vector3 a,
const Ogre::Vector3 b,
const Ogre::Vector3 c 
)

Member Function Documentation

◆ findIntersect()

bool Procedural::Triangle3D::findIntersect ( const Triangle3D other,
Segment3D intersection 
) const

Member Data Documentation

◆ mPoints

Ogre::Vector3 Procedural::Triangle3D::mPoints[3]

The documentation for this struct was generated from the following file: