Function:ns2scube

From S2PLOT

(Difference between revisions)
Jump to: navigation, search
Revision as of 22:50, 6 January 2009
S2plot admin (Talk | contribs)

← Previous diff
Revision as of 00:59, 7 January 2009
S2plot admin (Talk | contribs)

Next diff →
Line 13: Line 13:
==See Also== ==See Also==
 +<table>
 +<tr><td>[[Function:s2wcube | s2wcube ]]</td><td>Draw a wireframe cube.</td></tr>
 +<tr><td>[[Function:ns2vscube |ns2vscube ]]</td><td>Draw a solid cube - vector input. </td></tr>
 +<tr><td>[[Function:ns2thwcube | ns2thwcube ]]</td><td>Draw a wireframe cube. </td></tr>
 +<tr><td>[[Function:ns2vthwcube | ns2vthwcube ]]</td><td>Draw a wireframe cube - vector input. </td></tr>
 +</table>
==Code Example== ==Code Example==

Revision as of 00:59, 7 January 2009

ns2scube

Draw a solid cube.

Prototype

void ns2scube(float x1, float y1, float z1, float x2, float y2, float z2,
	      float red, float green, float blue,float alpha);

Description

Draw a solid cube with filled but transparent faces.

See Also

s2wcube Draw a wireframe cube.
ns2vscube Draw a solid cube - vector input.
ns2thwcube Draw a wireframe cube.
ns2vthwcube Draw a wireframe cube - vector input.

Code Example

Back to S2PLOT function list.




Back to template page.

Personal tools