yafray-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Yafray-devel] Hi i'm new to the list...


From: Luis Fernando Ruiz Gago
Subject: Re: [Yafray-devel] Hi i'm new to the list...
Date: Thu, 27 Mar 2003 02:25:29 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1

Only an adition:

configure generates a header called config.h with the "#defines" as Andrea said. But if double cords is enabled (--enable-double-cords parameter at ./configure) PFLOAT is a double not a float. I don't know if this affects to the others types (CFLOAT, GFLOAT), but I don't think so.

Andrea wrote:

CFLOAT and PFLOAT are float....

Their definition is inside some header (as I remember...).

Jandro use this names instead of the traditional float or double in
order to distinguish the different meanings this values got...

Time has passed since last time I played with those types, I don't
remember well, Jandro wil be more precise...

Take a look at the shaders code, IOR uses PFLOAT, while hard is CFLOAT.
I may be wrong, but I remember somewhere something like:

#define PFLOAT float
#define CFLOAT float

Andrea






_______________________________________________
Yafray-devel mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/yafray-devel








reply via email to

[Prev in Thread] Current Thread [Next in Thread]