mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Added "See also" reference to PyOpenGL.
This commit is contained in:
parent
7b2812211a
commit
505c49199a
1 changed files with 14 additions and 4 deletions
|
@ -48,13 +48,13 @@ For example, the C call
|
|||
\begin{verbatim}
|
||||
lmdef(deftype, index, np, props)
|
||||
\end{verbatim}
|
||||
%
|
||||
|
||||
is translated to Python as
|
||||
|
||||
\begin{verbatim}
|
||||
lmdef(deftype, index, props)
|
||||
\end{verbatim}
|
||||
%
|
||||
|
||||
\item
|
||||
Output arguments are omitted from the argument list; they are
|
||||
transmitted as function return values instead.
|
||||
|
@ -67,13 +67,13 @@ Examples: the C call
|
|||
\begin{verbatim}
|
||||
getmcolor(i, &red, &green, &blue)
|
||||
\end{verbatim}
|
||||
%
|
||||
|
||||
is translated to Python as
|
||||
|
||||
\begin{verbatim}
|
||||
red, green, blue = getmcolor(i)
|
||||
\end{verbatim}
|
||||
%
|
||||
|
||||
\end{itemize}
|
||||
|
||||
The following functions are non-standard or have special argument
|
||||
|
@ -188,6 +188,16 @@ main()
|
|||
\end{verbatim}
|
||||
|
||||
|
||||
\begin{seealso}
|
||||
\seetext{An interface to OpenGL\index{OpenGL} is also available; see
|
||||
information about David Ascher's\index{Ascher, David}
|
||||
\strong{PyOpenGL}\index{PyOpenGL} online at
|
||||
\url{http://starship.python.net/crew/da/PyOpenGL/}. This may
|
||||
be a better option if support for SGI hardware from before about
|
||||
1996 is not required.}
|
||||
\end{seealso}
|
||||
|
||||
|
||||
\section{\module{DEVICE} ---
|
||||
Constants used with the \module{gl} module}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue