From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=BAYES_40,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:ac8:4a83:: with SMTP id l3mr22584949qtq.350.1613551307083; Wed, 17 Feb 2021 00:41:47 -0800 (PST) X-Received: by 2002:a25:c943:: with SMTP id z64mr11400711ybf.73.1613551306958; Wed, 17 Feb 2021 00:41:46 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 17 Feb 2021 00:41:46 -0800 (PST) In-Reply-To: <2c9bc24b-3182-4045-851e-e12b7a5c4513@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=80.114.173.191; posting-account=BtkjvAoAAADwEquGb07eykXfyiDMOxfl NNTP-Posting-Host: 80.114.173.191 References: <2c9bc24b-3182-4045-851e-e12b7a5c4513@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <77d96b0d-54fb-40fa-b9e7-dde5ad13410en@googlegroups.com> Subject: Re: Rotations in 3D , Euler angles & Quaternions From: onox Injection-Date: Wed, 17 Feb 2021 08:41:47 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:61362 List-Id: On Monday, November 11, 2019 at 11:52:27 PM UTC+1, devosa...@gmail.com wrot= e: > Are there Ada packages,types available you can use to juggle, compose rot= ations,manipulate euler angels, quaternions,convert ?=20 > Or does a user must construct these objects using complex numbers,trigono= metric functions, matrix multiplication ? If you have an x86-64 CPU with SSE3 and AVX instructions, you might want to= check my 3D engine, Orka, which provides packages for vectors (4), matrice= s (4x4), and quaternions. See https://github.com/onox/orka/blob/master/src/= orka/interface/orka-transforms-simd_quaternions.ads. Use Orka.Transforms.Si= ngles.Quaternions for 32-bit floats with SSE and Orka.Transforms.Doubles.Qu= aternions for 64-bit with AVX.