aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/mimesh/libg3d-0.0.8/doc/api/xml/types.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/mimesh/libg3d-0.0.8/doc/api/xml/types.xml')
-rw-r--r--src/others/mimesh/libg3d-0.0.8/doc/api/xml/types.xml92
1 files changed, 92 insertions, 0 deletions
diff --git a/src/others/mimesh/libg3d-0.0.8/doc/api/xml/types.xml b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/types.xml
new file mode 100644
index 0000000..c12d48b
--- /dev/null
+++ b/src/others/mimesh/libg3d-0.0.8/doc/api/xml/types.xml
@@ -0,0 +1,92 @@
1<?xml version="1.0"?>
2<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
4<refentry id="libg3d-types">
5<refmeta>
6<refentrytitle role="top_of_page" id="libg3d-types.top_of_page">types</refentrytitle>
7<manvolnum>3</manvolnum>
8<refmiscinfo>LIBG3D Library</refmiscinfo>
9</refmeta>
10
11<refnamediv>
12<refname>types</refname>
13<refpurpose>Basic types</refpurpose>
14<!--[<xref linkend="desc" endterm="desc.title"/>]-->
15</refnamediv>
16
17<refsynopsisdiv id="libg3d-types.synopsis" role="synopsis">
18<title role="synopsis.title">Synopsis</title>
19
20<synopsis>
21
22#include &lt;g3d/types.h&gt;
23
24typedef <link linkend="G3DSingle">G3DSingle</link>;
25typedef <link linkend="G3DDouble">G3DDouble</link>;
26typedef <link linkend="G3DFloat">G3DFloat</link>;
27#define <link linkend="G3D-FLOAT-IS-DOUBLE:CAPS">G3D_FLOAT_IS_DOUBLE</link>
28</synopsis>
29</refsynopsisdiv>
30
31
32
33
34
35
36
37
38
39<refsect1 id="libg3d-types.description" role="desc">
40<title role="desc.title">Description</title>
41<para>
42Some basic type abstractions used in libg3d.</para>
43<para>
44
45</para>
46</refsect1>
47
48<refsect1 id="libg3d-types.details" role="details">
49<title role="details.title">Details</title>
50<refsect2 id="G3DSingle" role="typedef">
51<title>G3DSingle</title>
52<indexterm zone="G3DSingle"><primary>G3DSingle</primary></indexterm><programlisting>typedef gfloat G3DSingle;
53</programlisting>
54<para>
55Single-precision floating point number.</para>
56<para>
57
58</para></refsect2>
59<refsect2 id="G3DDouble" role="typedef">
60<title>G3DDouble</title>
61<indexterm zone="G3DDouble"><primary>G3DDouble</primary></indexterm><programlisting>typedef gdouble G3DDouble;
62</programlisting>
63<para>
64Double-precision floating point number.</para>
65<para>
66
67</para></refsect2>
68<refsect2 id="G3DFloat" role="typedef">
69<title>G3DFloat</title>
70<indexterm zone="G3DFloat"><primary>G3DFloat</primary></indexterm><para>
71Default floating point type. If used consistently in the library (not the
72case at the moment) this type can be switched between single and double
73precision at compile-time.</para>
74<para>
75
76</para></refsect2>
77<refsect2 id="G3D-FLOAT-IS-DOUBLE:CAPS" role="macro">
78<title>G3D_FLOAT_IS_DOUBLE</title>
79<indexterm zone="G3D-FLOAT-IS-DOUBLE:CAPS"><primary>G3D_FLOAT_IS_DOUBLE</primary></indexterm><programlisting>#define G3D_FLOAT_IS_DOUBLE</programlisting>
80<para>
81A flag indicating type of <link linkend="G3DFloat"><type>G3DFloat</type></link>. It is TRUE if <link linkend="G3DFloat"><type>G3DFloat</type></link> is double and
82FALSE if <link linkend="G3DFloat"><type>G3DFloat</type></link> is single precision.</para>
83<para>
84
85</para></refsect2>
86
87</refsect1>
88
89
90
91
92</refentry>