Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | List of all members
G3D::Surfel::Source Struct Reference

Mostly for debugging. More...

Public Member Functions

 Source ()
 
 Source (int i, float u, float v)
 

Public Attributes

int index
 Index of this primitive in the source object (interpretation depends on the object type). More...
 
float u
 Barycentric coordinate corresponding to vertex 1 (NOT vertex 0) More...
 
float v
 Barycentric coordinate corresponding to vertex 2. More...
 

Detailed Description

Mostly for debugging.

Constructor & Destructor Documentation

◆ Source() [1/2]

G3D::Surfel::Source::Source ( )
inline

◆ Source() [2/2]

G3D::Surfel::Source::Source ( int  i,
float  u,
float  v 
)
inline

Member Data Documentation

◆ index

int G3D::Surfel::Source::index

Index of this primitive in the source object (interpretation depends on the object type).

For TriTree, use this with TriTree:operator[] as a primitive index.

◆ u

float G3D::Surfel::Source::u

Barycentric coordinate corresponding to vertex 1 (NOT vertex 0)

◆ v

float G3D::Surfel::Source::v

Barycentric coordinate corresponding to vertex 2.


documentation generated on Wed Nov 24 2021 08:02:01 using doxygen 1.8.15