1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--****************************************************************************
* *
* Viewmol *
* *
* N O D E 2 3 . H T M L *
* *
* Copyright (c) Joerg-R. Hill, December 2000 *
* *
********************************************************************************
*-->
<!--Converted with LaTeX2HTML 99.2beta8 (1.46)
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>The light module</TITLE>
<META NAME="description" CONTENT="The light module">
<META NAME="keywords" CONTENT="viewmol">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v99.2beta8">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="viewmol.css">
</HEAD>
<BODY LANG="EN" BGCOLOR="#FFFFFF">
<H2><A NAME="SECTION00096000000000000000">
The <TT>light</TT> module</A>
</H2>
<dl><dt><b><a name='l2h-35'><tt class='function'>rotate</tt></a></b> (<var>x, y, z</var>)
<dd>
Rotates a light. <var>x</var>, <var>y</var>, and <var>z</var> are the angles the light is
to be rotated about the x, y, and z axis, respectively. These are integers
and are measured in degrees.
</dl>
<P>
<dl><dt><b><a name='l2h-36'><tt class='function'>switch</tt></a></b> (<var>status</var>)
<dd>
Switches a light on or off. <var>status</var> is one of the integer constants
<TT>ON</TT> or <TT>OFF</TT> defined in the <TT>viewmol</TT> module.
</dl>
<P>
<BR><HR>
<ADDRESS>
<A HREF="mailto:joehill@users.sourceforge.net"><I>Jrg-Rdiger Hill</I></A><BR>Sun Dec 10 17:38:35 MET 2000
</ADDRESS>
</BODY>
</HTML>
|