POV-Ray : Newsgroups : povray.general : Vector identifiers/axis values in a float function : Re: Vector identifiers/axis values in a float function Server Time
26 Apr 2024 08:54:02 EDT (-0400)
  Re: Vector identifiers/axis values in a float function  
From: clipka
Date: 3 Dec 2016 12:23:16
Message: <5842ff84$1@news.povray.org>
Am 03.12.2016 um 17:50 schrieb omniverse:
> Perhaps a curiosity of how the dot operator actually works, maybe x.x will be
> possible?
> Trying that here, this seemed to bypass the problem with abs() seeing a "vector
> or color expression".
> I sure don't know the reasoning myself, just occurred to me it might remove the
> vectorness in a way it does a whole vector.

Yes, `x.x` is a valid expression -- but since it evaluates to the
constant `1`, there are easier ways to write it ;)

With that in mind, I have a hunch that `x.x` isn't what Ian intended...


Post a reply to this message

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