Function:ns2vplanett

From S2PLOT

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

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

Next diff →
Line 13: Line 13:
==See Also== ==See Also==
 +<table>
 +<tr><td>[[Function:ns2vplanetx | ns2vplanetx]]</td><td>Draw a planet - vector input.</td></tr>
 +<tr><td>[[Function:ns2vsphere | ns2vsphere ]]</td><td>Draw a sphere, with a given centre, radius and colour - vector input.</td></tr>
 +<tr><td>[[Function:ns2spheret | ns2spheret]]</td><td>Draw a textured sphere, with given centre, radius, colour and texture filename </td></tr>
 +<tr><td>[[Function:ns2vspheret | ns2vspheret]]</td><td>Draw a textured sphere, with given centre, radius, colour and texture filename - vector input.</td></tr>
 +<tr><td>[[Function:ns2spherex| ns2spherex]]</td><td>Draw a textured sphere, with given centre, radius, colour and texture ID</td></tr>
 +<tr><td>[[Function:ns2vspherex | ns2vspherex]]</td><td>Draw a textured sphere, with given centre, radius, colour and texture ID - vector input.</td></tr>
 +<tr><td>[[Function:ns2sphere| ns2sphere]]</td><td>Draw a sphere.</td></tr>
 +</table>
==Code Example== ==Code Example==

Revision as of 01:05, 7 January 2009

ns2vplanett

Draw a planet - vector input.

Prototype

void ns2vplanett(XYZ iP, float ir, COLOUR icol, char *itexturefn,float texture_phase, XYZ axis, float rotation);

Description

Draw a planet, which is a textured sphere whose texture can be "slid" around the planet, and the planet then rotated about an arbitrary axis.

See Also

ns2vplanetxDraw a planet - vector input.
ns2vsphere Draw a sphere, with a given centre, radius and colour - vector input.
ns2spheretDraw a textured sphere, with given centre, radius, colour and texture filename
ns2vspheretDraw a textured sphere, with given centre, radius, colour and texture filename - vector input.
ns2spherexDraw a textured sphere, with given centre, radius, colour and texture ID
ns2vspherexDraw a textured sphere, with given centre, radius, colour and texture ID - vector input.
ns2sphereDraw a sphere.

Code Example

Back to S2PLOT function list.




Back to template page.

Personal tools