[ Maverik Level 1 typedefs ]


MAV_polyline

Summary

Default object class ``polyline''.


Syntax

typedef struct {
  int nlines;
  int *np;
  int *closed;
  MAV_vector **vert;
  MAV_surfaceParams **sp;
  MAV_matrix matrix;
  void *userdef;
} MAV_polyline;


Description

A polyline is a number, nlines, of lines each consisting of a number, np, of vertices, vert, each connected by a line. closed indicates if the last vertex connects back to the first.

Since it only make sense for this object to be rendered with a solid colour, attempting to render it with a material or texture gives undefined results.


Back to the index page.