[x3d-public] SAIMatrix definition for X3D ECMAScript SAI standard

Brutzman, Donald (Don) (CIV) brutzman at nps.edu
Fri Nov 23 12:24:04 PST 2018


Actually "never mind" please!  We subsequently rediscovered precise ECMAScript definitions for Matrix3 and Matrix4 in clause 7 Function Definitions and so will simply refer to those.

On 11/23/2018 11:58 AM, Brutzman, Donald (Don) (CIV) wrote:
> As part of editorial revision of 19777-1, Dick and I found that X3D ECMAScript SAI standard was missing SAIMatrix definition.
> 
> Suggested definition follows - but we are ECMAScript users, not implementers.  Confirmation or improvement requested.
> 
> ================
> 6.3.18 SAIMatrix
> 
> The data type is implemented as nested arrays of the numeric standard object type, with a total of either 9 elements (for a 3×3 matrix) or 16 elements (for a 4×4 matrix). Arrays are listed in column-major order, meaning that the outer array represents columns.
> ================
all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman


More information about the x3d-public mailing list