POV-Ray : Newsgroups : povray.newusers : giving varying object names to macros?? : giving varying object names to macros?? Server Time
2 Nov 2024 03:13:16 EDT (-0400)
  giving varying object names to macros??  
From: Thorben
Date: 16 Sep 2004 15:10:00
Message: <web.4149e439f8d128cd8a59baf60@news.povray.org>
I want to call my macro with varying objects, the object identifier is given
as a macro argument. example:

#declare result = mytraceenhancement(myobject5, <3,4,1>, <0,-1,0> ...)

Logical, trace thinks that "obj" is an object identifier and nothing else...

How to tell that it is a variable?

regards,

Thorben


Post a reply to this message

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