raybez.h

Go to the documentation of this file.
00001 
00002 /* ///////////////////////////////////////////////////////////////////////// */
00003 /* This file is a part of the BSTools package                                */
00004 /* written by Przemyslaw Kiciak                                              */
00005 /* ///////////////////////////////////////////////////////////////////////// */
00006 /* (C) Copyright by Przemyslaw Kiciak, 2012, 2013                            */
00007 /* this package is distributed under the terms of the                        */
00008 /* Lesser GNU Public License, see the file COPYING.LIB                       */
00009 /* ///////////////////////////////////////////////////////////////////////// */
00010 
00011 /* Header file for the libraybez library of C procedures -               */
00012 /* ray tracing for Bezier patches and curves (rendered as tubes)         */
00013 
00014 #ifndef RAYBEZ_H
00015 #define RAYBEZ_H
00016 
00017 #ifndef _PTHREAD_H
00018 #include <pthread.h>
00019 #endif
00020 
00021 #ifndef PKGEOM_H
00022 #include "pkgeom.h"
00023 #endif
00024 
00025 #ifndef MULTIBS_H
00026 #include "multibs.h"
00027 #endif
00028 
00029 #include "raybezf.h"
00030 #include "raybezd.h"
00031 
00032 extern pthread_mutex_t raybez_mutex;
00033 extern boolean         raybez_use_mutex;
00034 
00035 #ifdef __cplusplus   
00036 extern "C" {
00037 #endif
00038 
00039 boolean raybez_InitMutex ( void );
00040 void raybez_DestroyMutex ( void );
00041 
00042 #ifdef __cplusplus
00043 }
00044 #endif
00045 
00046 #endif
00047