POV-Ray : Newsgroups : povray.off-topic : new C# stuff : Re: new C# stuff Server Time
6 Sep 2024 17:18:41 EDT (-0400)
  Re: new C# stuff  
From: Chambers
Date: 22 Jan 2009 23:56:46
Message: <1D437723C00B4A49991A466C4B99CA8F@HomePC>
> -----Original Message-----
> From: Warp [mailto:war### [at] tagpovrayorg]
>   In other words, you simply can write the same thing with a slightly
> different syntax, but otherwise there's no difference. I really fail
> to see the usefulness of this.

You're terribly correct, there is no use to this at all.  After all, the
following are all identical:

VectorAdd(v1, v2, &v3);
v3 = VectorAdd(v1,v2);
v3 = v1+v2;

Since there's no difference between them, the second two should just be
taken out completely, don't you think?

...Ben Chambers
www.pacificwebguy.com


Post a reply to this message

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