POV-Ray : Newsgroups : povray.off-topic : Flipping a quaternion : Re: Flipping a quaternion Server Time
5 Sep 2024 09:20:26 EDT (-0400)
  Re: Flipping a quaternion  
From: scott
Date: 17 Aug 2009 06:56:03
Message: <4a893743@news.povray.org>
> Both of these seem to work but I can't find how to flip a quaternion.

A rotation quaternion is defined as (w,x,y,z) where xyz is the axis to 
rotate around and w is related to the rotation angle.  Would simply swapping 
the y and z elements around do what you want?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.