Especially - API Documentation


int ES_drawmass

( float origin_x, float origin_y, int type,
  float size, bool filled, bool specialfunc,
  float color_red, float color_green,
  float color_blue )

A global function.

Documentation

A global function. Draws a symbol for mass.

Parameters:
origin_x - [float] center x-position of mass. It represents the median point of the object.
origin_y - [float] center y-position of mass. It represents the median point of the object.
type - [int] 1 = square <br> 2 = circle <br> 3 = triangle <br> 4 = square
size - [float] the size of the object in OpenGL units
filled - [bool] fills object with color
specialfunc - [bool] activates rotating and zooming for this object only
color_red - [float] color, value from 0-255
color_green - [float] color, value from 0-255
color_blue - [float] color, value from 0-255
Returns:
true or false
See Also:
ES_drawbox, ES_drawtriangle, ES_drawellipse

Alphabetic index



This page was generated with the help of DOC++.