yafray-devel
[Top][All Lists]
Advanced

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

Re: [Yafray-devel] another Question :)


From: Andrea
Subject: Re: [Yafray-devel] another Question :)
Date: 27 Mar 2003 16:24:14 +0100

Il gio, 2003-03-27 alle 04:59, Rodrigo Placencia ha scritto:
> i hope is the last but i can't find the definition/declaration of M_PI
> nor M_1_PI in the headers, i assume that 
> M_PI could be: #define M_PI    ((float)  3.141592654f) 
> but the other i can't figure :(
>  
> thx in advance
> Rodrigo

<math.h> :

# define M_PI           3.14159265358979323846  /* pi */
# define M_PI_2         1.57079632679489661923  /* pi/2 */
# define M_PI_4         0.78539816339744830962  /* pi/4 */
# define M_1_PI         0.31830988618379067154  /* 1/pi */
# define M_2_PI         0.63661977236758134308  /* 2/pi */

But the code use cmath.h for the definituions...
M_PI* are the same as math.h (I guess)

Andera
> 
> ______________________________________________________________________
> 
> _______________________________________________
> 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]