Bsoft object

struct Bpolygon

Source:

include/rwmodel.h

Description:

Model polygon parameter structure.

Features:

List of components.
Polygon normal.
A flag to indicate if it is a closed polygon.

Code:

struct Bpolygon {
Bpolygon* next;
int number; // Number of components
Bcomponent* comp[MAXLINK]; // List of components
Vector3 normal; // Vector normal to the polygon plane
int closed; // Flag to indicate a closed polygon
float fom; // Figure-of-merit
int sel; // Selection flag
} ;

Other objects included:

struct Bcomponent


Generated by bdoc.pl on Mon Jun 15 11:55:12 2009


Back to the Bsoft home