This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

struct Geo::RastTri

records details of the input triangle

Variables

Name Description
float m_dX2

x2-x1, y2-y1

float m_dX3

x3-x1, y3-y1

float m_dY2

x2-x1, y2-y1

float m_dY3

x3-x1, y3-y1

float m_X1

x1, y1

float m_Y1

x1, y1

Functions

Name Description
GetBarycentricCoords(float, float, float &, float &)

Gets the barycentric coords of the given point (x, y).

RastTri(float, float, float, float, float, float)

Constructor.


void Geo::RastTri::GetBarycentricCoords


public: void GetBarycentricCoords
(
    float x,
    float y,
    float & u,
    float & v
) const


Gets the barycentric coords of the given point (x, y).


Geo::RastTri::RastTri


public: RastTri
(
    float x1,
    float y1,
    float x2,
    float y2,
    float x3,
    float y3
)


Constructor.

  • No labels