POV-Ray : Newsgroups : povray.unofficial.patches : Bug in Parse_Media()? Server Time
1 Nov 2024 23:15:40 EDT (-0400)
  Bug in Parse_Media()? (Message 1 to 2 of 2)  
From: Chris Huff
Subject: Bug in Parse_Media()?
Date: 24 Apr 2000 21:34:23
Message: <chrishuff_99-6AB576.20372024042000@news.povray.org>
I don't think transforms are being parsed properly in the function 
Parse_Media() in the file parstxtr.c. Shouldn't this:

    CASE (TRANSFORM_TOKEN)
      GET(TRANSFORM_ID_TOKEN)
      Transform_Density (IMedia->Density, &Local_Trans);
    END_CASE

be this:

    CASE (TRANSFORM_TOKEN)
      GET(TRANSFORM_ID_TOKEN)
      Transform_Density (IMedia->Density, (TRANSFORM *)Token.Data);
    END_CASE
?

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


Post a reply to this message

From: Nathan Kopp
Subject: Re: Bug in Parse_Media()?
Date: 25 Apr 2000 20:58:52
Message: <39063f4c@news.povray.org>
I agree.

-Nathan

Chris Huff <chr### [at] yahoocom> wrote...
> I don't think transforms are being parsed properly in the function 
> Parse_Media() in the file parstxtr.c. Shouldn't this:
> 
>     CASE (TRANSFORM_TOKEN)
>       GET(TRANSFORM_ID_TOKEN)
>       Transform_Density (IMedia->Density, &Local_Trans);
>     END_CASE
> 
> be this:
> 
>     CASE (TRANSFORM_TOKEN)
>       GET(TRANSFORM_ID_TOKEN)
>       Transform_Density (IMedia->Density, (TRANSFORM *)Token.Data);
>     END_CASE


Post a reply to this message

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