1 /****************************************************************************
2  *                  julia.h
3  *
4  * This module contains all defines, typedefs, and prototypes for JULIA.CPP.
5  *
6  * from Persistence of Vision(tm) Ray Tracer version 3.6.
7  * Copyright 1991-2003 Persistence of Vision Team
8  * Copyright 2003-2004 Persistence of Vision Raytracer Pty. Ltd.
9  *---------------------------------------------------------------------------
10  * NOTICE: This source code file is provided so that users may experiment
11  * with enhancements to POV-Ray and to port the software to platforms other
12  * than those supported by the POV-Ray developers. There are strict rules
13  * regarding how you are permitted to use this file. These rules are contained
14  * in the distribution and derivative versions licenses which should have been
15  * provided with this file.
16  *
17  * These licences may be found online, linked from the end-user license
18  * agreement that is located at http://www.povray.org/povlegal.html
19  *---------------------------------------------------------------------------
20  * This program is based on the popular DKB raytracer version 2.12.
21  * DKBTrace was originally written by David K. Buck.
22  * DKBTrace Ver 2.0-2.12 were written by David K. Buck & Aaron A. Collins.
23  *---------------------------------------------------------------------------
24  * $File: //depot/povray/3.6-release/source/quatern.h $
25  * $Revision: #2 $
26  * $Change: 2939 $
27  * $DateTime: 2004/07/04 13:43:26 $
28  * $Author: root $
29  * $Log$
30  *****************************************************************************/
31 
32 #ifndef JULIA_H
33 #define JULIA_H
34 
35 BEGIN_POV_NAMESPACE
36 
37 /*****************************************************************************
38 * Global preprocessor defines
39 ******************************************************************************/
40 
41 /*****************************************************************************
42 * Global typedefs
43 ******************************************************************************/
44 
45 /*****************************************************************************
46 * Global variables
47 ******************************************************************************/
48 
49 /*****************************************************************************
50 * Global functions
51 ******************************************************************************/
52 
53 int F_Bound_Julia (RAY * Ray, FRACTAL * Fractal, DBL * Depth_Min, DBL * Depth_Max);
54 void Normal_Calc_Julia (VECTOR Result, int N_Max, FRACTAL *fractal);
55 void Normal_Calc_z3 (VECTOR Result, int N_Max, FRACTAL *fractal);
56 int Iteration_Julia (VECTOR point, FRACTAL * Julia);
57 int D_Iteration_Julia (VECTOR point, FRACTAL * Julia, DBL * Dist);
58 int Iteration_z3 (VECTOR point, FRACTAL * Julia);
59 int D_Iteration_z3 (VECTOR point, FRACTAL * Julia, DBL * Dist);
60 
61 END_POV_NAMESPACE
62 
63 #endif
64