Skip to content

Commit cf23033

Browse files
dirkschulzesvgeesus
authored andcommitted
Added Float64Array type and reference to Typed-Array spec
1 parent 357674e commit cf23033

2 files changed

Lines changed: 19 additions & 3 deletions

File tree

matrix/ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2013-03-09 Dirk Schulze <dschulze@adobe.com>
2+
Added Float64Array type and reference to Typed-Array spec.
3+
14
2013-03-08 Dirk Schulze <dschulze@adobe.com>
25
Update normative references.
36

matrix/index.html

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h2>The <a>DecomposedMatrix</a> dictionary</h2>
114114
</dd>
115115
<dt>sequence&lt;double> quaternions</dt>
116116
<dd>
117-
Is an sequence of four double items representing the two quaternions for the rotation of the matrix.
117+
Is an sequence of four double items representing the quaternions for the rotation of the matrix.
118118
</dd>
119119
</dl>
120120

@@ -182,7 +182,16 @@ <h3>The constructors</h3>
182182
<dl class='parameters'>
183183
<dt>Float32array array</dt>
184184
<dd>
185-
Create an identity matrix first. An array of 6 items sets the element values <code>a</code> to <code>f</code>. An array of 16 items sets the element values <code>m11</code> to <code>m44</code>.
185+
Create an identity matrix first. An Float32array [[!TYPED-ARRAYS]] of 6 items sets the element values <code>a</code> to <code>f</code>. An array of 16 items sets the element values <code>m11</code> to <code>m44</code>.
186+
</dd>
187+
</dl>
188+
</dd>
189+
<dt>Constructor()</dt>
190+
<dd>
191+
<dl class='parameters'>
192+
<dt>Float64array array</dt>
193+
<dd>
194+
Create an identity matrix first. An Float64array [[!TYPED-ARRAYS]] of 6 items sets the element values <code>a</code> to <code>f</code>. An array of 16 items sets the element values <code>m11</code> to <code>m44</code>.
186195
</dd>
187196
</dl>
188197
</dd>
@@ -671,7 +680,11 @@ <h3>Helper methods</h3>
671680
</dd>
672681
<dt>Float32Array toFloat32Array()</dt>
673682
<dd>
674-
Returns the serialized elements of the current matrix in column-major order as Float32Array.
683+
Returns the serialized elements of the current matrix in column-major order as Float32Array [[!TYPED-ARRAYS]].
684+
</dd>
685+
<dt>Float64Array toFloat64Array()</dt>
686+
<dd>
687+
Returns the serialized elements of the current matrix in column-major order as Float64Array [[!TYPED-ARRAYS]].
675688
</dd>
676689
<dt>DecomposedMatrix decompose()</dt>
677690
<dd>

0 commit comments

Comments
 (0)