POV-Ray : Newsgroups : povray.advanced-users : c -> sdl pov : Re: c -> sdl pov Server Time
28 Jul 2024 22:16:45 EDT (-0400)
  Re: c -> sdl pov  
From: Kurts
Date: 20 Sep 2003 07:31:25
Message: <kurtzlepirate-6FEF47.13312320092003@netplex.aussie.org>
In article <3f6c3363@news.povray.org>, Warp <war### [at] tagpovrayorg> wrote:

> ...
> ...
>   'continue' doesn't have any useful purpose in that piece of code anyways.
> The first 'continue' can be removed by simply negating the if condition, and
> the second 'continue' is completely obsolete (it doesn't do anything at all).
> The 'return 0' is slightly more complicated, but there's a clever trick to
> implement it cleanly in pov-SDL.
> 
>   I will use uppercase variables here to avoid collision with internal
> keywords. I will also assume that you have already implemented determinant()
> as a macro which returns whatever it has to return.
> ...
> ...


merci merci 

ok about collisions with internal keyword. here is just the original c source.
and yes, i have already implemented determinant() macro.

one again, thankssssss


Post a reply to this message

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