comp.lang.ada
 help / color / mirror / Atom feed
From: onox <denkpadje@gmail.com>
Subject: Re: Rotations in 3D , Euler angles & Quaternions
Date: Wed, 17 Feb 2021 00:41:46 -0800 (PST)	[thread overview]
Message-ID: <77d96b0d-54fb-40fa-b9e7-dde5ad13410en@googlegroups.com> (raw)
In-Reply-To: <2c9bc24b-3182-4045-851e-e12b7a5c4513@googlegroups.com>

On Monday, November 11, 2019 at 11:52:27 PM UTC+1, devosa...@gmail.com 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 ?

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), matrices (4x4), and quaternions. See https://github.com/onox/orka/blob/master/src/orka/interface/orka-transforms-simd_quaternions.ads. Use Orka.Transforms.Singles.Quaternions for 32-bit floats with SSE and Orka.Transforms.Doubles.Quaternions for 64-bit with AVX.

      parent reply	other threads:[~2021-02-17  8:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-11 22:52 Rotations in 3D , Euler angles & Quaternions Alain De Vos
2019-11-12  9:50 ` AdaMagica
2019-11-12 10:52 ` Lucretia
2019-11-12 11:33 ` Alain De Vos
2019-11-12 17:06 ` Stephen Leake
2019-11-12 19:50   ` Shark8
2019-11-12 23:54     ` Alain De Vos
2021-02-15 20:04   ` Maurice Calvert
2021-02-16 18:37     ` Stephen Leake
2021-02-16 11:32 ` Rod Kay
2021-02-17  8:41 ` onox [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox