POV-Ray : Newsgroups : povray.general : function question : function question Server Time
19 Nov 2024 07:21:04 EST (-0500)
  function question  
From: Shay
Date: 3 Apr 2002 16:20:36
Message: <3cab7224$1@news.povray.org>
Can I define a function that takes a float and returns a vector?
Something like this:

function Get_Vec {<x^2,x^3,x^4>}
Get_Vec (2) ------> <4,8,16>

Do I have to use a macro to accomplish this?

 -Shay


Post a reply to this message

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