1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5 <meta http-equiv="content-type" content="text/html; charset={+IO.encoding+}" />
6 <meta name="generator" content="JsDoc Toolkit" />
7 {! Link.base = "../"; /* all generated links will be relative to this */ !}
8 <title>glMatrix - {+data.alias+}</title>
10 <style type="text/css">
11 {+include("static/default.css")+}
16 <!-- ============================== header ================================= -->
17 <!-- begin static/header.html -->
18 {+include("static/header.html")+}
19 <!-- end static/header.html -->
22 <!-- ============================== classes index ============================ -->
24 <!-- begin publish.classesIndex -->
25 {+publish.classesIndex+}
26 <!-- end publish.classesIndex -->
29 <section id="content">
30 <!-- ============================== class title ============================ -->
31 <h1 class="classTitle">
35 if (data.isBuiltin()) {
36 classType += "Built-In ";
39 if (data.isNamespace) {
40 if (data.is('FUNCTION')) {
41 classType += "Function ";
43 classType += "Namespace ";
46 classType += "Class ";
49 {+classType+}{+data.alias+}
52 <!-- ============================== class summary ========================== -->
53 <p class="description">
54 <if test="data.version"><br />Version
55 {+ data.version +}.<br />
57 <if test="data.augments.length"><br />Extends
62 function($) { return new Link().toSymbol($); }
68 {+resolveLinks(data.classDesc)+}
71 <div class="description">{+resolveLinks(summarize(data.desc))+}</div>
74 <if test="!data.isBuiltin()">{# isn't defined in any file #}
75 <br /><i>Defined in: </i> {+new Link().toSrc(data.srcFile)+}.
79 <!-- ============================== properties summary ===================== -->
80 <if test="data.properties.length">
81 {! var ownProperties = data.properties.filter(function($){return $.memberOf == data.alias && !$.isNamespace}).sort(makeSortby("name")); !}
82 <if test="ownProperties.length">
83 <table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class {+data.alias+}.">
84 <caption>Field Summary</caption>
87 <th scope="col">Field Attributes</th>
88 <th scope="col">Field Name and Description</th>
92 <for each="member" in="ownProperties">
94 <td class="attributes">{!
95 if (member.isPrivate) output += "<private> ";
96 if (member.isInner) output += "<inner> ";
97 if (member.isStatic) output += "<static> ";
98 if (member.isConstant) output += "<constant> ";
100 <td class="nameDescription">
101 <div class="fixedFont">
102 <if test="member.isStatic && member.memberOf != '_global_'">{+member.memberOf+}.</if><b>{+new Link().toSymbol(member.alias).withText(member.name)+}</b>
104 <div class="description">{+resolveLinks(summarize(member.desc))+}</div>
112 <if test="data.inheritsFrom.length">
113 <dl class="inheritsList">
115 var borrowedMembers = data.properties.filter(function($) {return $.memberOf != data.alias});
117 var contributers = [];
118 borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
119 for (var i = 0, l = contributers.length; i < l; i++) {
121 "<dt>Fields borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
126 function($) { return $.memberOf == contributers[i] }
128 .sort(makeSortby("name"))
130 function($) { return new Link().toSymbol($.alias).withText($.name) }
141 <!-- ============================== methods summary ======================== -->
142 <if test="data.methods.length">
143 {! var ownMethods = data.methods.filter(function($){return $.memberOf == data.alias && !$.isNamespace}).sort(makeSortby("name")); !}
144 <if test="ownMethods.length">
146 <table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class {+data.alias+}.">
148 <for each="member" in="ownMethods">
150 <td class="nameDescription">
151 <code class="fixedFont"><if test="member.isStatic && member.memberOf != '_global_'">{+member.memberOf+}.</if><b>{+new Link().toSymbol(member.alias).withText(member.name.replace(/\^\d+$/, ''))+}</b>{+makeSignature(member.params)+}
153 <div class="description">{+resolveLinks(summarize(member.desc))+}</div>
162 <!-- ============================== field details ========================== -->
163 <if test="defined(ownProperties) && ownProperties.length">
164 <div class="sectionTitle">
167 <for each="member" in="ownProperties">
168 <a name="{+Link.symbolNameToLinkName(member)+}"> </a>
169 <div class="fixedFont">{!
170 if (member.isPrivate) output += "<private> ";
171 if (member.isInner) output += "<inner> ";
172 if (member.isStatic) output += "<static> ";
173 if (member.isConstant) output += "<constant> ";
176 <if test="member.type"><span class="light">{{+new Link().toSymbol(member.type)+}}</span></if>
177 <if test="member.isStatic && member.memberOf != '_global_'"><span class="light">{+member.memberOf+}.</span></if><b>{+member.name+}</b>
180 <div class="description">
181 {+resolveLinks(member.desc)+}
182 <if test="member.srcFile != data.srcFile">
184 <i>Defined in: </i> {+new Link().toSrc(member.srcFile)+}.
186 <if test="member.author"><br /><i>Author: </i>{+member.author+}.</if>
189 <if test="member.example.length">
190 <for each="example" in="member.example">
191 <pre class="code">{+example+}</pre>
195 <if test="member.deprecated">
196 <dl class="detailList">
197 <dt class="heading">Deprecated:</dt>
199 {+ resolveLinks(member.deprecated) +}
203 <if test="member.since">
204 <dl class="detailList">
205 <dt class="heading">Since:</dt>
206 <dd>{+ member.since +}</dd>
209 <if test="member.see.length">
210 <dl class="detailList">
211 <dt class="heading">See:</dt>
212 <for each="item" in="member.see">
213 <dd>{+ new Link().toSymbol(item) +}</dd>
217 <if test="member.defaultValue">
218 <dl class="detailList">
219 <dt class="heading">Default Value:</dt>
221 {+resolveLinks(member.defaultValue)+}
226 <if test="!$member_last"><hr /></if>
230 <!-- ============================== method details ========================= -->
231 <if test="defined(ownMethods) && ownMethods.length">
232 <h2>Method Detail</h2>
233 <for each="member" in="ownMethods">
234 <a name="{+Link.symbolNameToLinkName(member)+}"> </a>
235 <h3 class="fixedFont">
236 <if test="member.type"><span class="light">{{+new Link().toSymbol(member.type)+}}</span></if>
237 <if test="member.isStatic && member.memberOf != '_global_'"><span class="light">{+member.memberOf+}.</span></if><b>{+member.name.replace(/\^\d+$/, '')+}</b>{+makeSignature(member.params)+}
240 <div style="margin-left: 1em;">
241 <p class="description">
242 {+resolveLinks(member.desc)+}
243 <if test="member.srcFile != data.srcFile">
245 <i>Defined in: </i> {+new Link().toSrc(member.srcFile)+}.
247 <if test="member.author"><br /><i>Author: </i>{+member.author+}.</if>
250 <if test="member.example.length">
251 <for each="example" in="member.example">
252 <pre class="code">{+example+}</pre>
256 <if test="member.params.length">
257 <dl class="detailList">
258 <dt class="heading">Parameters:</dt>
259 <for each="item" in="member.params">
261 {+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}<b>{+item.name+}</b>
262 <if test="item.isOptional"><i>Optional<if test="item.defaultValue">, Default: {+item.defaultValue+}</if></i></if>
264 <dd>{+resolveLinks(item.desc)+}</dd>
268 <if test="member.deprecated">
269 <dl class="detailList">
270 <dt class="heading">Deprecated:</dt>
272 {+ resolveLinks(member.deprecated) +}
276 <if test="member.since">
277 <dl class="detailList">
278 <dt class="heading">Since:</dt>
279 <dd>{+ member.since +}</dd>
283 <if test="member.exceptions.length">
284 <dl class="detailList">
285 <dt class="heading">Throws:</dt>
286 <for each="item" in="member.exceptions">
288 {+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+} <b>{+item.name+}</b>
290 <dd>{+resolveLinks(item.desc)+}</dd>
294 <if test="member.returns.length">
295 <dl class="detailList">
296 <dt class="heading">Returns:</dt>
297 <for each="item" in="member.returns">
298 <dd>{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}{+resolveLinks(item.desc)+}</dd>
302 <if test="member.requires.length">
303 <dl class="detailList">
304 <dt class="heading">Requires:</dt>
305 <for each="item" in="member.requires">
306 <dd>{+ resolveLinks(item) +}</dd>
310 <if test="member.see.length">
311 <dl class="detailList">
312 <dt class="heading">See:</dt>
313 <for each="item" in="member.see">
314 <dd>{+ new Link().toSymbol(item) +}</dd>
319 <if test="!$member_last"><hr /></if>
328 <!-- ============================== footer ================================= -->
331 <if test="JSDOC.opt.D.copyright">©{+JSDOC.opt.D.copyright+}<br /></if>
332 Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}
334 Theme based on Github Pages template by <a href="https://github.com/orderedlist">orderedlist</a>