POV-Ray : Newsgroups : povray.newusers : Retrieving point information after rotation : Re: Retrieving point information after rotation Server Time
2 Jul 2024 22:01:32 EDT (-0400)
  Re: Retrieving point information after rotation  
From: Alain
Date: 29 Jun 2011 13:18:37
Message: <4e0b5e6d@news.povray.org>

> When I try this I get 'Expected 2 parameters but only 1 found.' What does this
> mean? I have included functions.inc and transforms.inc
>
> HELP?
>

Any function expect a fixed number of parameters.
Whenever you don't provide the correct number of parameters, you get 
that error.
Here, your function is expecting a call in this form:
Function(A, B)
But, it get called this way:
Function(A)

Take a look at the definition of the function you want to use in the 
coresponding inc file.
For example, vaxis_rotate asks for 3 parameters, while vtransform needs 2.


Alain


Post a reply to this message

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