POV-Ray : Newsgroups : povray.programming : add argument : Re: add argument Server Time
1 Jun 2024 09:02:16 EDT (-0400)
  Re: add argument  
From: B Gimeno
Date: 23 May 2005 13:25:00
Message: <web.4292114679508ff7670f02f10@news.povray.org>
"Jean gerbe" wrote:
> Hello boys and girls,
>
> How can we add an argument to the sphere primitive?
>
> Many Thanks.

as a macro?

#macro BALL (LOCATION,RADIUS)
  sphere (LOCATION,RADIUS)
#end

usage: BALL(<0,4,10>,3)


B. Gimeno
esto es la realidad


Post a reply to this message

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