<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><a href="http://www.web3d.org/specifications/ISO-IEC19777/ISO-IEC19777-3v3.3-DIS/Part03/functions.html#Matrix3">http://www.web3d.org/specifications/ISO-IEC19777/ISO-IEC19777-3v3.3-DIS/Part03/functions.html#Matrix3</a> <br></div><div dir="ltr">didn't compile for me > evidence that it was never tested by compiling. Recommend compile checks on language translations.</div><div dir="ltr">-Doug Sanden</div><div dir="ltr">...<br><div><a href="https://drive.google.com/file/d/1-35F-a5YTxhEUjAvRpiaccTkcYlaXQM5/view?usp=sharing">https://drive.google.com/file/d/1-35F-a5YTxhEUjAvRpiaccTkcYlaXQM5/view?usp=sharing</a> </div><div>- a little C program I did to test Matrix3 and Matrix4, showing how I modified structs 2 different ways, with commented lines scraped from above spec not compiling.</div><div><br></div><div><br><div>console output</div></div><div><div>Hello web3d C-SAI world</div><div>mat3 initialized elements 1 to 9</div><div>1.000000 2.000000 3.000000</div><div>4.000000 5.000000 6.000000</div><div>7.000000 8.000000 9.000000</div><div>mat3 transposed</div><div>1.000000 4.000000 7.000000</div><div>2.000000 5.000000 8.000000</div><div>3.000000 6.000000 9.000000</div><div>mat3 set to identity</div><div>1.000000 0.000000 0.000000</div><div>0.000000 1.000000 0.000000</div><div>0.000000 0.000000 1.000000</div><div><br></div><div><br></div><div>matr initialized elements 1 to 16</div><div>1.000000 2.000000 3.000000 4.000000</div><div>5.000000 6.000000 7.000000 8.000000</div><div>9.000000 10.000000 11.000000 12.000000</div><div>13.000000 14.000000 15.000000 16.000000</div><div>mat4 transposed</div><div>1.000000 5.000000 9.000000 13.000000</div><div>2.000000 6.000000 10.000000 14.000000</div><div>3.000000 7.000000 11.000000 15.000000</div><div>4.000000 8.000000 12.000000 16.000000</div><div>mat4 set to identity</div><div>1.000000 0.000000 0.000000 0.000000</div><div>0.000000 1.000000 0.000000 0.000000</div><div>0.000000 0.000000 1.000000 0.000000</div><div>0.000000 0.000000 0.000000 1.000000</div></div></div></div></div></div>