[ Maverik Level 2 functions ]

#

mav_boxDraw

mav_boxDraw, mav_compositeDraw, mav_coneDraw, mav_ctorusDraw, mav_cylinderDraw, mav_ellipseDraw, mav_facetDraw, mav_hellipseDraw, mav_hsphereDraw, mav_polylineDraw, mav_polygonDraw, mav_polygonGrpDraw, mav_pyramidDraw, mav_rectangleDraw, mav_rtorusDraw, mav_SMSObjDraw, mav_sphereDraw, mav_teapotDraw, mav_textDraw, mav_avatarDraw, mav_TDMCursorDraw

## Summary

Rendering callback for Maverik default object classes.

## Syntax

int mav_boxDraw(MAV_object *o, MAV_drawInfo *di);

int mav_compositeDraw(MAV_object *o, MAV_drawInfo *di);

int mav_coneDraw(MAV_object *o, MAV_drawInfo *di);

int mav_ctorusDraw(MAV_object *o, MAV_drawInfo *di);

int mav_cylinderDraw(MAV_object *o, MAV_drawInfo *di);

int mav_ellipseDraw(MAV_object *o, MAV_drawInfo *di);

int mav_facetDraw(MAV_object *o, MAV_drawInfo *di);

int mav_hellipseDraw(MAV_object *o, MAV_drawInfo *di);

int mav_hsphereDraw(MAV_object *o, MAV_drawInfo *di);

int mav_polylineDraw(MAV_object *o, MAV_drawInfo *di);

int mav_polygonDraw(MAV_object *o, MAV_drawInfo *di);

int mav_polygonGrpDraw(MAV_object *o, MAV_drawInfo *di);

int mav_pyramidDraw(MAV_object *o, MAV_drawInfo *di);

int mav_rectangleDraw(MAV_object *o, MAV_drawInfo *di);

int mav_rtorusDraw(MAV_object *o, MAV_drawInfo *di);

int mav_SMSObjDraw(MAV_object *o, MAV_drawInfo *di);

int mav_sphereDraw(MAV_object *o, MAV_drawInfo *di);

int mav_teapotDraw(MAV_object *o, MAV_drawInfo *di);

int mav_textDraw(MAV_object *o, MAV_drawInfo *di);

int mav_avatarDraw(MAV_object *o, MAV_drawInfo *di);

int mav_TDMCursorDraw(MAV_object *o, MAV_drawInfo *di);

- MAV_object *o
  Object to draw.

- MAV_drawInfo *di
  Drawing information.

## Description

This is a callback function, which draws an object. It is given as the argument to mav_callbackDrawSet for each class of object defined in the common objects module. `o` is the object to draw, and `di` is drawing information including view parameters and culling information.

## See also

mav_callbackDrawSet.

Back to the index page.