vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
grass::Triangle Struct Reference

#include <grass_mesh.h>

Public Member Functions

 Triangle ()
 
 Triangle (Vertex *nA, Vertex *nB, Vertex *nC)
 
Vertex GetRandomPoint () const
 

Public Attributes

VertexA
 
VertexB
 
VertexC
 
float area
 
Vec3 center
 

Constructor & Destructor Documentation

grass::Triangle::Triangle ( )
inline
grass::Triangle::Triangle ( Vertex nA,
Vertex nB,
Vertex nC 
)
inline

Member Function Documentation

Vertex grass::Triangle::GetRandomPoint ( ) const
inline

Member Data Documentation

Vertex* grass::Triangle::A
float grass::Triangle::area
Vertex * grass::Triangle::B
Vertex * grass::Triangle::C
Vec3 grass::Triangle::center

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