POV-Ray : Newsgroups : povray.programming : Bug in Compute_Axis_Rotation_Transform() : Re: Bug in Compute_Axis_Rotation_Transform() Server Time
28 Jul 2024 14:34:18 EDT (-0400)
  Re: Bug in Compute_Axis_Rotation_Transform()  
From: Chris Huff
Date: 3 Jul 2000 08:36:50
Message: <chrishuff-7F1D91.07365303072000@news.povray.org>
In article <3960661E.A3C7871A@student.uni-siegen.de>, Markus Becker 
<mar### [at] studentuni-siegende> wrote:

> As far as my understanding of C and the workings of the POV-type
> VECTOR go, this should *not* modify the "real" V1, since the value is
> passed on the stack. The V1 in the function gets modified, but *not*
> the parameter that is passed, example:

The type VECTOR is an array of three doubles. The name of an array is 
the same as a pointer to the first element, so a function can modify a 
VECTOR passed to it. The same goes for colors.

-- 
Christopher James Huff - Personal e-mail: chr### [at] maccom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://homepage.mac.com/chrishuff/
TAG Web page: http://tag.povray.org/


Post a reply to this message

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