[ Maverik Level 1 typedefs ]
MAV_pyramid
Summary
Default object class ``pyramid''.
Syntax
typedef struct {
float bot_size_x;
float bot_size_y;
float top_size_x;
float top_size_y;
float offset_x;
float offset_y;
float height;
MAV_surfaceParams *sp;
MAV_matrix matrix;
void *userdef;
} MAV_pyramid;
Description
An axis-aligned pyramid is defined with its centre at the origin. It has a
top and bottom size along the X,Y axis,
and a height, height, along the Z axis. The X,Y centres of the
top and bottom faces are offset by offset_x and offset_y respectively.
Back to the index page.