POV-Ray : Newsgroups : povray.general : unexpected rotation result : Re: unexpected rotation result Server Time
8 Aug 2024 14:23:10 EDT (-0400)
  Re: unexpected rotation result  
From: John VanSickle
Date: 6 Feb 2001 01:24:03
Message: <3A7FAE41.E1255D1A@hotmail.com>
Tom Melly wrote:
> 
> I came across this one the other day (don't know how I'd missed this
> "feature" before).
> 
> Basically, I expected the two following rotations to be identical:
> 
> rotate y * - 45 + 45

Which the parser expands to y*-45 + <45,45,45> = <45,0,45>

> rotate y * (- 45 + 45)

Which the parser evaluates as y*0.

> Confused of Putney.

Hope this enlightens,
John


Post a reply to this message

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