#include <adsosurf.h>
Public Member Functions | |
| int | triCount () |
| Number of triangles (not including tri-strips). | |
| int | stripLen (int i) |
| Length of triangle strip i. | |
| int | stripCount () |
| Number of triangle strips. | |
| int | verticeCount () |
| void | draw (int method, AdsoDC *dc) |
| int | load (FILE *file) |
| int | save (FILE *file) |
| void | init (int c, int s, int t) |
| AdsoSurf (int c, int s, int t) | |
| AdsoSurf () | |
Public Attributes | |
Vertex lists | |
Vertices are organized into a list of striangle strips. Except list 0 which is a list of triangles. There are two vertice list formats specified by type. Both types includes vertex position and normals. Type 1 includes one set of texture coordinates, while type 2 includes two sets of texture coordinates. | |
| int | type |
| Vertex information format. | |
| int | count |
| Number of vertex lists. | |
| int | v_count |
| Total number of vetices. | |
| int * | offs |
| Vertex list offsets (indices into vl). | |
| int * | len |
| Vertex list lengths. | |
| void * | vl |
| Vertex table. | |
Culling parameters | |
| v3f | cullNorm |
| float | cullNormAngle |
| v3f * | boundPoints |
| int | nBoundPoints |
Defines a 3D surface.
|
||||||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
Number of triangle strips.
|
|
|
Length of triangle strip i.
|
|
|
Number of triangles (not including tri-strips).
|
|
|
|
|
|
|
|
|
Number of vertex lists.
|
|
|
|
|
|
|
|
|
Vertex list lengths.
|
|
|
|
|
|
Vertex list offsets (indices into vl).
|
|
|
Vertex information format.
|
|
|
Total number of vetices.
|
|
|
Vertex table.
|
1.3.2