POV-Ray : Newsgroups : povray.general : unexpected rotation result : Re: unexpected rotation result Server Time
8 Aug 2024 16:14:35 EDT (-0400)
  Re: unexpected rotation result  
From: Tom Melly
Date: 7 Feb 2001 07:34:23
Message: <3a8140cf@news.povray.org>
"Chris Huff" <chr### [at] maccom> wrote in message
news:chrishuff-95BA06.05341707022001@news.povray.org...

> > that the solution is: (a*x)^2 + (b*x) + c.
>
> You still followed the precedece of * over +, I think it's even uglier:
> ((((a * x) ^ 2) + b) * x) + c
> Unless you were only talking about individual terms.
>

I didn't really follow the precedence - I just reduced the equation to a
non-ambiguous form... Well, almost. I should have written ((a*x)^2)+(b*x)+c.
As I wrote it originally, I suppose it could mean (a*x)^(2+(b*x)+c).


Post a reply to this message

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