POV-Ray : Newsgroups : povray.beta-test : Round_Box #macro (in shapes.inc) and negative values : Re: Round_Box #macro (in shapes.inc) and negative values Server Time
29 Jul 2024 14:26:02 EDT (-0400)
  Re: Round_Box #macro (in shapes.inc) and negative values  
From: Fabien Mosen
Date: 21 Apr 2002 09:03:43
Message: <3CC2B859.8060005@skynet.be>
Christoph Hormann wrote:

> 
> Rune, i already made a proposal for fixing this some time ago:


Thanks, but there is a small mistake (maybe things have changed
since ?).  The two first replaced lines must be :

    #local AA = <min(A.x, B.x), min(A.y, B.y), min(A.z, B.z)>
                + EdgeRadius;
    #local BB = <max(A.x, B.x), max(A.y, B.y), max(A.z, B.z)>
                - EdgeRadius;

(it's a matter of 'A' instead of 'AA')

Fabien.


Post a reply to this message

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