From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:ac8:342b:: with SMTP id u40mr30153631qtb.87.1573555937667; Tue, 12 Nov 2019 02:52:17 -0800 (PST) X-Received: by 2002:a05:6808:906:: with SMTP id w6mr3244031oih.122.1573555937378; Tue, 12 Nov 2019 02:52:17 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!j16no1953991qtl.0!news-out.google.com!p4ni418qtu.1!nntp.google.com!j16no1953989qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 12 Nov 2019 02:52:17 -0800 (PST) In-Reply-To: <2c9bc24b-3182-4045-851e-e12b7a5c4513@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5 References: <2c9bc24b-3182-4045-851e-e12b7a5c4513@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <329a0bd9-8170-4480-8a20-4b13380bc8b5@googlegroups.com> Subject: Re: Rotations in 3D , Euler angles & Quaternions From: Lucretia Injection-Date: Tue, 12 Nov 2019 10:52:17 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:57555 Date: 2019-11-12T02:52:17-08:00 List-Id: On Monday, 11 November 2019 22:52:27 UTC, Alain De Vos wrote: > Are there Ada packages,types available you can use to juggle, compose rotations,manipulate euler angels, quaternions,convert ? > Or does a user must construct these objects using complex numbers,trigonometric functions, matrix multiplication ? There are vectors and matrices in the library: http://www.ada-auth.org/standards/12rm/html/RM-G-3.html I've no idea how well these optimise or perform for games / 3d rendering. I have some old game optimised vector3/4 / matrix3/4 types I wrote for the NeHe ports I did. I don't even know if you need to optimise them now for the hw we have.