Function:ns2vplanetx
From S2PLOT
(Difference between revisions)
Revision as of 01:06, 7 January 2009 S2plot admin (Talk | contribs) ← Previous diff |
Revision as of 22:50, 7 January 2009 S2plot admin (Talk | contribs) Next diff → |
||
Line 29: | Line 29: | ||
[[S2PLOT:Function List | Back]] to S2PLOT function list. | [[S2PLOT:Function List | Back]] to S2PLOT function list. | ||
- | |||
- | |||
__NOTOC__ | __NOTOC__ | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
- | |||
- | |||
- | Back to [[Function:Template | template]] page. |
Revision as of 22:50, 7 January 2009
ns2vplanetx
Draw a planet - vector input.
Prototype
void ns2vplanetx(XYZ iP, float ir, COLOUR icol, unsigned int itextureid,
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
ns2vplanett | Draw a planet - vector input. |
ns2vsphere | Draw a sphere, with a given centre, radius and colour - vector input. |
ns2spheret | Draw a textured sphere, with given centre, radius, colour and texture filename |
ns2vspheret | Draw a textured sphere, with given centre, radius, colour and texture filename - vector input. |
ns2spherex | Draw a textured sphere, with given centre, radius, colour and texture ID |
ns2vspherex | Draw a textured sphere, with given centre, radius, colour and texture ID - vector input. |
ns2sphere | Draw a sphere. |
Code Example
Back to S2PLOT function list.