Re: [eigen] Euler-angles and partial reductions API design |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Euler-angles and partial reductions API design
- From: Christian Mayer <mail@xxxxxxxxxxxxxxxxx>
- Date: Thu, 17 Jul 2008 20:00:13 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding:sender; bh=/NVtmeYL3jV7DyGWyYOs5hAyBeCEMB2quCN26gQlh70=; b=WQYret8sIDMpWWAytgoDDvtqc5R/UHNBaYtgtE/aysvPwjAM/PLSMcpeEW2yVzda/E F8qxZGFiJiS0tgg4g0HzXQs0c/bZwRebvW2xy8UbYsxHdMhESh4nDVi3ax9V3NBGZ8JF jG8AFLda5zF4TeDRyw2YPaIBDlDCUghZa2nd4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:sender; b=diz8dRIUjRh5QooPlGIjTn/uygiVIcdUXhBug69tt3hT+nir1IkP3sGPfkzohaDNox Vw5nypkYAzMX7RsWd+U31j6Ug79UiPhVTtiphCIqcS95+ozwFp4n2esFg++0t9XYh9ri r9SyWjA06xhWBn3ThGESJy6NoXcmU6KPml34c=
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Gael Guennebaud schrieb:
> Let's start with the EulerAngles class of the geometry module. [...]
Apart from the fact that EulerAngles are quite useless for real work I
can understand that beginners usually want them to get a quick start...
Generally it's best to keep the libaray as small and generic as possible.
So I'd offer only one function that generates the rotation matrix. This
function should have a fixed order (that's identical to OpenGL -
although I didn't find a gl, glu or glut function that uses euler
angles...).
If the user wants a left or a right multiplication is totally up to him,
so the library should try to be smarter :)
CU,
Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIf4itoWM1JLkHou0RCD8LAJ0fLw/XfnBezR5i43q4Izln9Hy0VgCfZGDr
dXdk5TfQ8eSvSDRjtxzFuWU=
=JZq/
-----END PGP SIGNATURE-----