[x3d-public] C SAI

John Carlson yottzumm at gmail.com
Sat Jan 14 16:42:04 PST 2023


Okay, i was abke to transfer to iCloud using … Open in.

Whee!  I see code!   Even without renaming.

John

On Sat, Jan 14, 2023 at 6:02 PM John Carlson <yottzumm at gmail.com> wrote:

> Note, sometimes i use the phone and attachments and google drive doesn’t
> work too well.  I will look at patches later, seems like you have a
> everything ready?
>
> Thanks, I shouldn’t be a crybaby.
>
> John
>
> On Sat, Jan 14, 2023 at 2:37 PM GPU Group <gpugroup at gmail.com> wrote:
>
>>
>> http://www.web3d.org/specifications/ISO-IEC19777/ISO-IEC19777-3v3.3-DIS/Part03/functions.html#Matrix3
>>
>> didn't compile for me > evidence that it was never tested by compiling.
>> Recommend compile checks on language translations.
>> -Doug Sanden
>> ...
>>
>> https://drive.google.com/file/d/1-35F-a5YTxhEUjAvRpiaccTkcYlaXQM5/view?usp=sharing
>>
>> - 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.
>>
>>
>> console output
>> Hello web3d C-SAI world
>> mat3 initialized elements 1 to 9
>> 1.000000 2.000000 3.000000
>> 4.000000 5.000000 6.000000
>> 7.000000 8.000000 9.000000
>> mat3 transposed
>> 1.000000 4.000000 7.000000
>> 2.000000 5.000000 8.000000
>> 3.000000 6.000000 9.000000
>> mat3 set to identity
>> 1.000000 0.000000 0.000000
>> 0.000000 1.000000 0.000000
>> 0.000000 0.000000 1.000000
>>
>>
>> matr initialized elements 1 to 16
>> 1.000000 2.000000 3.000000 4.000000
>> 5.000000 6.000000 7.000000 8.000000
>> 9.000000 10.000000 11.000000 12.000000
>> 13.000000 14.000000 15.000000 16.000000
>> mat4 transposed
>> 1.000000 5.000000 9.000000 13.000000
>> 2.000000 6.000000 10.000000 14.000000
>> 3.000000 7.000000 11.000000 15.000000
>> 4.000000 8.000000 12.000000 16.000000
>> mat4 set to identity
>> 1.000000 0.000000 0.000000 0.000000
>> 0.000000 1.000000 0.000000 0.000000
>> 0.000000 0.000000 1.000000 0.000000
>> 0.000000 0.000000 0.000000 1.000000
>> _______________________________________________
>> x3d-public mailing list
>> x3d-public at web3d.org
>> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230114/581a714f/attachment-0001.html>


More information about the x3d-public mailing list